plot.CompoML: Plot the predicted mean function under the proportional means...

Description Usage Arguments Value See Also Examples

View source: R/generic.R

Description

Plot the predicted mean function under the proportional means model for a new observation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'CompoML'
plot(
  x,
  z = NULL,
  xlab = "Time",
  ylab = "Mean function",
  lty = 1,
  frame.plot = FALSE,
  add = FALSE,
  ...
)

Arguments

x

An object returned by CompoML.

z

Covariate vector for the new observation. If NULL, the baseline mean function will be plotted.

xlab

A label for the x axis.

ylab

A label for the y axis.

lty

Line type for the plot.

frame.plot

Boolean argument indicating whether to add a rectangular frame to the plot.

add

If TRUE, the curve will be overlaid on an existing plot; otherwise, a separate plot will be constructed.

...

Other arguments that can be passed to the underlying plot method.

Value

No return value, called for side effects.

See Also

CompoML, print.CompoML.

Examples

1
## see example for CompoML

Wcompo documentation built on Dec. 1, 2021, 1:07 a.m.