search for: ratevar

Displaying 1 result from an estimated 1 matches for "ratevar".

2009 Jan 19
1
further notes on model.frame issue
...ion, but I've had exactly one use for it in the 15+ years of developing the survival package. - I have a work around for the current case. Prioritize accordingly. The ideal would be to change survexp as follows: fit <- survexp( ~ gender, data=mydata, ratetable=survexp.us, ratevar=list(sex=gender, year=enroll.dt, age=age*365.25)) The model statement says that I want separate curves by gender, and is similar to other model statements. The ratevar option gives the mapping between my variable names and the dimnames of the survexp.us rate table. It wants age in days, enrol...