internal function that generates hazard ratio table at each month if you have pre-calculated hazard values you can pass them directly to reduce computation time.
1 2 3 4 5 6 7 8 |
survnma |
survnma object to be passed |
treatments |
a list of desired treatments to be compared |
reference |
string of treatment that acts as reference |
timesteps |
Vector of evaluation times. Should be of length > 2 |
hazards |
precalculated hazards (using |
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.