compute_ori_sca {ggHoriPlot} | R Documentation |
Compute the origin and scale of the horizon plot
compute_ori_sca(data, origin, horizonscale)
data |
A data frame. |
origin |
Origin of the horizon plot. It can either be a string, namely
|
horizonscale |
Cutpoints of the horizon plot. It can either be an integer
specifying the number of ranges (default is |
A list with two elements: ori
, which represents the numeric
origin of the horizon plot, and vec_cut
, which is a vector with the
cutpoints for the horizon plot.