[R] termplot
Göran Broström
gb at stat.umu.se
Sat Feb 9 13:04:04 CET 2002
I am experimenting with 'termplot':
> fit1 = coxph(Surv(time, status) ~ ns(bili, 4) + ns(age, 4), data = pbc)
> termplot(fit1, data = pbc)
works as advertised, but when I try to use 'terms', I don't get what I
want:
> termplot(fit1, data = pbc, terms = 2)
presents me with a '?' (because in termplot, in the line 'cn <- parse(text
= nmt', nmt is NULL). So, I suppose that I am specifying 'terms' in a way
that termplot doesn't like. How should it be done?
Thanks,
Göran
--
Göran Broström tel: +46 90 786 5223
professor fax: +46 90 786 6614
Department of Statistics http://www.stat.umu.se/egna/gb/
Umeå University
SE-90187 Umeå, Sweden e-mail: gb at stat.umu.se
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list