a formula object, with the response as a Surv
object on the
left of a ~
operator, and, if desired, terms separated by
the +
operator on the right. If the variables are not
organized and named in the same way as in the population
tables, a ratetable
term must be added to match each
subject to his/her expected cohort.
A formula expression as for other survival models, of the form Surv(time, status) ~ predictors
.
Each combination of predictor values defines a subgroup. A strata
term may be used to produce a stratified test.
NOTE: The time must be in days, and the same
is required for the ratetable variables (the variables used in the population tables), for example age and year (year must be
given in the date
format, i.e. in number of days since 01.01.1960).