plot.SLCARE {SLCARE} | R Documentation |
Produce Plots for SLCARE
Description
Generate cumulative baseline intensity function, estimated mean function, model checking plot for SLCARE.
Usage
## S3 method for class 'SLCARE'
plot(x, type = c("ModelChecking", "mu0", "EstMeans"), ...)
Arguments
x |
an object of class |
type |
the type of the plot. |
... |
other arguments. |
Details
SLCARE
provides visualization tools to depict the estimated functional model parameters and related functional quantities of interest.
These tools include:
mu0: estimated cumulative baseline intensity function.
EstMeans: estimated mean function plot - The crude estimates for the class-specific mean functions of recurrent events
SLCARE
also provides a tool to help assess the adequacy of the fitted model:
ModelChecking: model checking plot - A plot shows the comparison of the observed recurrent events versus the expected number of recurrent events. A major departure from the identity line may suggest a lack-of-fit of the assumed models.
Value
A ggplot
object.