[R] worked in R, but not in S-Plus
tlumley at u.washington.edu
Wed Nov 10 16:52:05 CET 2004
On Tue, 9 Nov 2004, array chip wrote:
> I wrote a function that worked well in R, but not in
> S-Plus, can anyone suggest a solution?
If you change the argument of the function from x to ... it will give
Error in eval(expr, envir, enclos) : Object "x" not found
which is almost compatible with what it does in S-PLUS.
If you want advice on how to change the behaviour in S-PLUS, this is the
> cox.fit <- coxph(Surv(time.cox, status.cox) ~ x,
> na.action = na.exclude, method = "breslow")
More information about the R-help