Re: [R] model frame and formula mismatch with latent class analysis poLCA

2012-11-06 Thread Galled
I've had the same problem, but although seems ridiculous I have solved by reducing the length of the name of the variables (yes the character length of each variable, e.g: if you have many variables named big_name_variable, rename it with bnv) I hope this solves your problem. __

[R] model frame and formula mismatch with latent class analysis poLCA

2012-05-29 Thread KDT
Dear R-users, I keep getting an ERROR saying " Error in model.matrix.default(formula, mframe) : model frame and formula mismatch in model.matrix() " when i fit poLCA with more than 63 variables. Below are the details. I am trying to do a Latent Class Analysis using poLCA. My data set contains bi