powered by
Plot the predicted mean function under the proportional means model for a new observation.
# S3 method for CompoML plot( x, z = NULL, xlab = "Time", ylab = "Mean function", lty = 1, frame.plot = FALSE, add = FALSE, ... )
An object returned by CompoML.
CompoML
Covariate vector for the new observation. If NULL, the baseline mean function will be plotted.
NULL
A label for the x axis.
A label for the y axis.
Line type for the plot.
Boolean argument indicating whether to add a rectangular frame to the plot.
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.
plot
No return value, called for side effects.
CompoML, print.CompoML.
print.CompoML
# NOT RUN { ## see example for CompoML # }
Run the code above in your browser using DataLab