posneg | R Documentation |
This function calculates the different positive and negative boundaries for each data point based on the origin and the cutpoint vector provided.
posneg(y, origin, vec)
y |
Numeric vector of values to be transformed. |
origin |
Numeric origin of the horizon plot. |
vec |
Numeric vector of cutpoints. |
A data frame, which has been transformed with the supplied origin and vector of cuts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.