[R] summary polr

Michael Dewey info at aghmed.fsnet.co.uk
Tue Feb 20 14:43:10 CET 2007

At 15:21 19/02/2007, Paolo Accadia wrote:
>Hi all,
>I have a problem to estimate Std. Error and 
>t-value by “polr” in library Mass.
>They result from the summary of a polr object.
>I can obtain them working in the R environment with the following statements:
>      temp <- polr(formula = formula1,  data = data1)
>      coeff <- summary(temp),
>but when the above statements are enclosed in a 
>function, summary reports the following error:
>Error in eval(expr, envir, enclos) : object "dat" not found
>Someone knows how I can solve the problem?

By giving us a short reproducible example?

Specifically we do not know:
1 - what formula1 is
2 - what the structure of data1 is
3 - what the enclosing function looks like
4 - what dat is

>Thanks for any help.

Michael Dewey

More information about the R-help mailing list