nessie  R Documentation 
Calculates how the sample size decreases in time due to population mortality
nessie(formula, data, ratetable = relsurv::slopop,times,rmap)
formula 
a formula object, same as in 
data 
a data.frame in which to interpret the variables named in the

ratetable 
a table of event rates, organized as a 
times 
Times at which the calculation should be evaluated  in years! 
rmap 
an optional list to be used if the variables are not
organized and named in the same way as in the 
The function calculates the sample size we can expect at a certain time point if the patients die only due to population causes (population survival * initial sample size in a certain category), i.e. the number of individuals that remains at risk at given timepoints after the individuals who die due to population causes are removed. The result should be used as a guideline for the sensible length of followup interval when calculating the net survival.
The first column of the output reports the number of individuals at time 0. The last column of the output reports the conditional expected (population) survival time for each subgroup.
A list of values.
Pohar Perme, M., Pavlic, K. (2018) "Nonparametric Relative Survival Analysis with the R Package relsurv". Journal of Statistical Software. 87(8), 127, doi: "10.18637/jss.v087.i08"
rs.surv
data(slopop) data(rdata) rdata$agegr <cut(rdata$age,seq(40,95,by=5)) nessie(Surv(time,cens)~agegr,rmap=list(age=age*365.241), ratetable=slopop,data=rdata,times=c(1,3,5,10,15))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.