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

From: Thomas Lumley <>
Date: Sun 25 Jul 2004 - 03:36:14 EST

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:
> 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 mailing list PLEASE do read the posting guide! Received on Sun Jul 25 03:44:58 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:13 EST