Message-ID: <0957E70F25F7D111974B00A0C9833064AF888F@mayo.cerep.com>
Date: 2002-03-27T19:19:51Z
From: Boryeu Mao
Subject: "object not found"
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._