Description Usage Arguments Value

Calculates bootstrapped survival probabilities from the Weibull models fitted
to the `prevalence`

object.

1 2 |

`formula` |
A |

`newdata` |
A list or dataframe with the covariate values to calculate survival probabilities for. Defaults to using the mean values from the the original dataset that the model was fit to. |

`...` |
Other arguments to |

An S3 object of class `survfit.prev`

with the following
attributes:

`time` |
A vector of time points at which survival probability has been calculated. |

`surv` |
A matrix of survival probabilities, where the rows represent a different bootstrapped Weibull model, and the columns are each timepoint. |

`fullsurv` |
A vector of survival probabilities for the predictors provided in newdata. |

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.