search for: acipenser_gueldenstaedtii

Displaying 1 result from an estimated 1 matches for "acipenser_gueldenstaedtii".

2007 Jul 25
0
Function polr and discrete ordinal scale
...ables, I used the polr and predict.polr functions. I would like to know how to bring the cumulated probabilities back to a discrete ordinal scale. For the moment I used the predict.polr function with the argument "class". Is there an other way? polrf <- polrf <- polr_mod(formula = acipenser_gueldenstaedtii ~ Long + poly(Surf, 2, raw = TRUE) + poly(TempSum, 2, raw = TRUE) , data = mydata, method = "logistic", Hess = TRUE, na.action = na.omit) pred1 <- predict.polr(polrf, newdata = mydata2, type = "class") predict.polr <- function(object, newdata, type=c("class",...