posneg {ggHoriPlot} | R Documentation |
Internal function
Description
This function calculates the different positive and negative boundaries for each data point based on the origin and the cutpoint vector provided.
Usage
posneg(y, origin, vec)
Arguments
y |
Numeric vector of values to be transformed. |
origin |
Numeric origin of the horizon plot. |
vec |
Numeric vector of cutpoints. |
Value
A data frame, which has been transformed with the supplied origin and vector of cuts.
[Package ggHoriPlot version 1.0.1 Index]