Description Usage Arguments Details Value Examples
View source: R/survivalfunctions.R
Computes the risk set for a given vector x
1 |
x |
The data |
d |
The left truncation points (optional) |
u |
The right censoring points (optional) |
If d and u are provided, they should be the same lenggth as x. Entries of d, u and x can be set to NA where applicable.
A data frame containing the unique values of x (y), the counts for each unique value (s), and the risk set (r)
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.