On Fri, 23 Jul 2004, Jacob Etches wrote: > 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?
The termplot() function in R can already handle pspline() terms. -thomas ______________________________________________ [EMAIL PROTECTED] 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