swihart / gnlm

Generalized nonlinear regression models
GNU General Public License v2.0
1 stars 0 forks source link

fix nordr example #2

Open swihart opened 7 years ago

swihart commented 7 years ago

Current line 126 of nordr.R

#' \dontrun{
#' # fit continuation ratio model with nordr and as a logistic model
#' nordr(y, mu=~length, weights=fr, pmu=c(0,-1.4,-2.3), pint=0.13,
#'  dist="cont")
#'  }

The problem is that length is coming in and not being recognized as a factor. That causes the error about the pmu argument being too long.