posneg: Internal function

View source: R/posneg.R

posnegR 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.


ggHoriPlot documentation built on Oct. 11, 2022, 5:07 p.m.