Dear R-Users, I've recently used relsurv package for relative survival analysis. In particular I've tried to reproduce the examples proposed in the R-documentation about rsadd, rsmul and rstrans functions in R latest version (R 2.14.1). These examples don't run and the error message is always the following: data(slopop) data(rdata) rsadd(Surv(time,cens)~sex+as.factor(agegr)+ratetable(age=age*365,sex=sex,year=year),ratetable=slopop,data=rdata,int=5) Errore in .Call("pyears3b", as.integer(death), as.integer(rfac), as.integer(atts$dim), : C symbol name "pyears3b" not in DLL for package "survival"
However I've tried to reproduce the same examples in R oldest version (R 2.9.2) and they correctly run. Do you have any suggestions? Thank you for your help. Best regards. Annalisa [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.