plotrajeR.Trajectory.POIS | R Documentation |
plot POIS trajectory
## S3 method for class 'Trajectory.POIS' plotrajeR( Obj, plotcov = NULL, dec = 0, col = "black", Y = NULL, A = NULL, Risk = NULL, TCOV = NULL, mean = FALSE, alpha = 1, ... )
Obj |
an object of class " |
plotcov |
an optional vector or matrix with the same length as the time period. Default value is NULL. |
dec |
an optional real. It precise the shift to draw the data points. |
col |
an optional vector. The vector of colors. It must contain a color for each trajectory and each points of groups. Its length is the double of the number of group. Default value is a grayscale. |
Y |
Matrix. A matrix containing the variables in the model. |
A |
Matrix. A matrix containing the time variable data. |
Risk |
Matrix. An optional matrix that modify the probability of belong to group. By default its value is a matrix with one column with value 1. |
TCOV |
Matrix. An optional matrix containing the time covariate that influence the trajectory themselves. By default its value is NULL. |
mean |
an optional logicial. Indicate if the mean of ech group and time value must be draw. |
alpha |
on optional real. Indicate the alpha channel of the points color. |
... |
optional parameters |
a graphic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.