Description Usage Arguments Details Value
Fits a cure model which assumes that if an individual has survived beyond a set timepoint then they are considered cured and their mortality reverts to population levels. Please read the detailed description below for how to use this model.
1 2 3 4 5 6 7 8 
formula 
Formula specifying survival function, as used in

data 
A data frame with the corresponding column names provided in

cure_time 
Timelimit at which a patient is considered cured. Note that if this is 0 or negative then
survival will be based purely off the population rates (anything passed into 
daily_survival 
A data frame comprising population survival as a daily probability for as long as possible,
ideally 100 years (36525 days).
Defaults to using UK population survival from the 
population_covariates 
A character vector containing fields to stratify population survival by in addition to
age, as descripted in 
dist 
The distribution used by the default parametric survival model. 
To model population survival, population mortality tables are required, as specified by the daily_survival
argument. If not provided, then the default population mortality is that of the UK population, which goes up
to 100 years of age. If a simulated individual has expected lifespan longer than the maximum age in the mortality table
then they are estimated to have died at this age limit,
which is why it is advantageous to provide as many accurate survival probabilities as possible.
Due to the linking with the registry data and the ability for userspecified mortality tables, there are stricter
requirements on the survival models used in cure models than elsewhere. For example, the timescale of the
survival model specified in formula
must be in days so that it matches up with the mortality tables.
Likewise, age in years must be included as a covariate in the survival model
An object of class fixedcure
that can be passed
into prevalence
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.