| plotrajeR.Trajectory.NL | R Documentation |
Plots the trajectories for a non-linear model fitted by 'trajeR'.
## S3 method for class 'Trajectory.NL'
plotrajeR(
Obj,
plotcov = NULL,
col = "black",
Y = NULL,
A = NULL,
Risk = NULL,
mean = FALSE,
alpha = 1,
TCOV = NULL,
...
)
Obj |
An object of class 'Trajectory.NL'. |
plotcov |
An optional vector or matrix of time-dependent covariates. |
col |
An optional vector of colors. |
Y |
The original response variable matrix. |
A |
The original time variable matrix. |
Risk |
Optional. The original risk covariate matrix. |
mean |
Logical. If 'TRUE', plots the mean trajectory for each group. |
alpha |
A numeric value for the transparency of individual trajectory lines. |
TCOV |
Matrix or Formula. An optional matrix (or one-sided formula) containing time-dependent covariates that influence the trajectories. |
... |
Other graphical parameters passed to 'plot'. |
a graphic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.