On Mon, 9 Feb 2009, Terry Therneau wrote:

 > tfit  <- aareg(Surv(time, status) ~ x, test1)
 Error: could not find function "aareg"
 Execution halted

--------------
 The manual page aareg.Rd has a call to the function in the examples and that
runs ok, and aareg is in the NAMESPACE exports.

I'm almost certainly missing something obvious - please point it out.


Based on the r-forge code it looks like you need library(survival) in R code in 
tests/.  It doesn't happen automatically like it does for examples.

      -thomas


Thomas Lumley                   Assoc. Professor, Biostatistics
tlum...@u.washington.edu        University of Washington, Seattle

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to