[R] "object not found"
Boryeu Mao
B.Mao at cerep.com
Wed Mar 27 20:19:51 CET 2002
I am not understanding the functions in R:
The following statements work OK if they are invoked in R:
reg<-polr(act~.,data=mm)
print(summary(reg))
But if they are enclosed in a function, then calling that function results
in the message:
Error in eval(expr, envir, enclos) : Object "mm" not found
and no summary is printed for reg. Are there other, more proper, ways to do
these? Where in R's documentation should I be looking?
Thanks for any help/hints.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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