Learn R Programming

isoSurv (version 0.3.0)

iso: Attributions of isotonic covariate effect

Description

attributes the covariate with respect to the name, direction, anchor point, and class.

Usage

iso(z, shape)

Value

The value \(z\) with attribution of its name, shape and median anchor point.

Arguments

z

a univariate covariate.

shape

a direction of \(z\) (\(shape\)="increasing" or "decreasing").

Author

Yunro Chung [cre]

Details

Internal function. The iso function attributes the covariate \(z\) for its name, shape , anchor point and class, where the anchor point is set to a median of \(z\)'s, and class is set to "iso covariate"