Calculates bootstrapped survival probabilities from the Weibull models fitted
to the prevalence object.
# S3 method for prevalence
survfit(formula, newdata = NULL, ...)An S3 object of class survfit.prev with the following
attributes:
A vector of time points at which survival probability has been calculated.
A matrix of survival probabilities, where the rows represent a different bootstrapped Weibull model, and the columns are each timepoint.
A vector of survival probabilities for the predictors provided in newdata.
A prevalence object.
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 survfit.