Description Usage Arguments Value

A function that computes the survival function for multiple treatments based on a study of interest

1 2 | ```
prep_all_survivals(nmafit, study, treatments = nmafit$treatment,
timesteps = seq(0, 30))
``` |

`nmafit` |
a survnma object to be used for subsequent calculations |

`study` |
a string of the study of interest |

`treatments` |
a string or vector of treatments to be compared |

`timesteps` |
Vector of evaluation times. Should be of length > 2 |

a dataframe with columns corresponding to
`c("curve", "time", "mean", "lci", "uci", "label")`

where curve indicates the family of distribution used for
survnma object and label indicating the corresponding
treatment considered. uci and lci indicate the upper and
lower bounds of the credible interval for the mean.
the dataframe is to be used for plotting via the `survival_plot`

function

certara/survivalnma documentation built on June 5, 2019, 11:02 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.