Description Usage Arguments Value
Calculate proabilities of event for a set/subset of patients in a time interval, using a given survival function.
1 |
patients |
Subset of indices for which to calculate the probabilities |
data |
Dataset with the times of inclussion, withdrawals, censoring indicator, time of follow-up, ... |
start, |
end Start or end of the interval of which to calculate the probabilities. |
last.time |
Number of days elapsed since the beginning of the trial. |
FUN |
survival function used for calculating the probabilities. Usually output from survFUN(). |
A vector with the probabilities with the same length as nrow(data[patients, , drop = FALSE]).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.