View source: R/survival_table.R
internal function that evaluates survivals at each month if you have pre-calculated survival values you can pass them directly to reduce computation time.
1 2 3 4 5 6 7 8 |
survnma |
survnma object to be passed |
study |
study of interest |
treatments |
a list of desired treatments to be compared |
timesteps |
Vector of evaluation times. Should be of length > 2 |
survivals |
precalculated survivals (using prep_all_survivals) to reduce computation time |
print |
Boolean, if true prints results in console, if false stores dataframe |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.