[R] summary polr

Paolo Accadia Paolo.Accadia at port.ac.uk
Mon Feb 19 16:21:00 CET 2007


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?

Thanks for any help.
Paolo



More information about the R-help mailing list