[EMAIL PROTECTED] writes: > On Thu, 18 Mar 2004 [EMAIL PROTECTED] wrote: > > > The bug exists on R-1.9.0-alpha compiled the 10/3. > > > > Termplot has a problem if either the model only contains a single term > > or if asked to plot a single term. In addition there are problems with > > the option se = TRUE. > > I can't reproduce this in either R-devel or 1.8.1, and termplot hasn't > changed since January. > > I do > example(termplot) ... > without any error messages. I also note that termplot() doesn't > (anymore) start with the line you say it starts with, though it did until > January. > > Could you provide an example?
The original story was this (which I saw but lacked the time to analyze): library(survival) library(MASS) library(splines) data(Melanoma) men<-Melanoma[Melanoma$status<3,] y<-coxph(Surv(time,status) ~ sex + ns(thickness,df=4),data=men) z<-coxph(Surv(time,status) ~ ns(thickness,df=4),data=men) termplot(y) #OK termplot(z) # Prints a ? prompt (from parse(text=nmt) w/nmt==NULL) termplot(y,terms=2) # Same This can still be seen with the current devel version. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel