[R] Location of polr function

kjetil@entelnet.bo kjetil at entelnet.bo
Wed Mar 3 23:53:01 CET 2004


On 3 Mar 2004 at 15:42, Peter Flom wrote:

> Hello
> 
> I am running R 1.8.1 on a  Windows platform
> 
> I am attempting to fit an ordinal logistic regression model, using the
> polr function, as described in Venables and Ripley.  But when I try

It would help if you started by saying 

library(MASS)

Not knowing that, you could find out by trying

help.search("polr")

Kjetil Halvorsen

> 
> model4 <- polr(ypsxcat~committed + as.factor(sex)
>  + as.factor(drugusey) + anycsw + as.factor(sex)*committed
>   + as.factor(sex)*as.factor(drugusey)+as.factor(sex)*anycsw, data =
> duhray)
> 
> I get a message that the polr function was not found.  
> 
> Any help appreciated
> 
> thanks
> 
> Peter
> 
> Peter L. Flom, PhD
> Assistant Director, Statistics and Data Analysis Core
> Center for Drug Use and HIV Research
> National Development and Research Institutes
> 71 W. 23rd St
> www.peterflom.com
> New York, NY 10010
> (212) 845-4485 (voice)
> (917) 438-0894 (fax)
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list