plot.lple: The Plot Function of lple

Description Usage Arguments Details Author(s) See Also Examples

View source: R/lple.R

Description

Draw a series of plots of beta_w vs. w_est for each dependent variable with interactions with the biomarker w. See also: lple, lplb.control

Usage

1
2
## S3 method for class 'lple'
plot(x, ..., scale = c('original', 'transformed'))

Arguments

x

a lple class returned from lple fit.

scale

choose the scale of biomarker variable, 'original' or 'o' for the original biomarker scale. 'transformed' or 't' for transformed scale that mapps biomarker to interval (0, 1). The default is to plot in the original scale.

...

other options used in plot().

Details

plot.lple is called to plot the relationships between beta_w and w_est for each dependent variable with interactions with the biomarker w, from the lple fit model.

The number of interaction terms can be set in lplb.control.

The default method, print.default has its own help page. Use methods("print") to get all the methods for the print generic.

Author(s)

Bingshu E. Chen and Siwei Zhang

See Also

lple, lplb.control, print.lple

Examples

1
2
3
4
#
# fit = lplb(y ~ x)
# plot(fit)
#

statapps/lplb documentation built on July 10, 2021, 6:14 p.m.