Skip to content
Prev 304993 / 398506 Next

error: in catg (xi, name=nam, label=lab): "LO2" has <2 category levels

You appeaer to be using the rms package.  Please follow the posting guide.

The error message looks to be self-explanatory (empty cell); you just have
to find which predictor it applies to.
As an aside, rms does not like you to use factor() in a model, and there's
probably a more concise way to deal with all the L variables.
Frank

Tvandenberg wrote
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/error-in-catg-xi-name-nam-label-lab-LO2-has-2-category-levels-tp4642495p4642501.html
Sent from the R help mailing list archive at Nabble.com.