[R] Porting plotterm() & gamterms() from s-plus

From: Jacob Etches <jetches_at_iwh.on.ca>
Date: Sat 24 Jul 2004 - 04:35:58 EST

I'm trying to plot pspline'd explanatory variables from coxph() models as per Therneau and Grambsch (Modeling Survival Data: Extending the Cox Model). They have s-plus functions for this at:

http://www.mayo.edu/hsr/people/therneau/book/sfunction/gamterms.s http://www.mayo.edu/hsr/people/therneau/book/sfunction/plotterm.s

I'd like to make these plots in R, but they make use of non-R functions, and I'm not sure how to adapt gamterms and plotterm to R. Have others done this, or does anyone have advice?


Jacob Etches
University of Toronto

This e-mail may contain confidential information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is prohibited. If you have received this e-mail in error, please delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.

R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jul 24 04:43:42 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:37:41 EST