Description Usage Arguments Value See Also Examples
Create a panel count survival object, usually used as a response variable in a model formula.
1 2 3 | PanelSurv(ID, time, count)
is.PanelSurv(x)
|
ID |
Observation subject's ID. |
time |
Observation time. |
count |
Observation subject's ID. |
x |
An |
An object of S3 class "PanelSurv"
.
a data frame, part of original input data frame with variable "ID", "time" and "count".
ordered distinct observation times in the set of all observation times.
a matrix representation of panel count data, one
row per subject, one column per time point in "timeGrid"
.
In the case of is.PanelSurv
, a logical value TRUE
if
x
inherits from class "PanelSurv"
, otherwise an FALSE
.
In the case of plot.PanelSurv
, a tile plot of
panelMatrix
produced by package ggplot2
with color
indicating number of counts since last observation time.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.