[R] Location of polr function

Spencer Graves spencer.graves at pdf.com
Wed Mar 3 23:38:00 CET 2004


 > help.search("polr")
Help files with alias or concept or title matching 'polr' using
regular expression matching:



polr(MASS)              Proportional Odds Logistic Regression



Type 'help(FOO, package = PKG)' to inspect entry 'FOO(PKG) TITLE'.
 >
      Did you ask "library(MASS)" first? 
      hope this helps.  spencer graves

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
>
>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