Calculate risks with handlers for survival data
1 |
risk.function |
Function taking three arguments, a data.frame, parameters, and time. It should return a vector the same number of rows as the data frame |
Y |
The outcome variable |
par |
the vector of parameter values |
t |
Time for a survival outcome, may be missing |
dat0 |
Data frame containing S and Z = 1 |
dat1 |
Data frame containing S and Z = 0 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.