[R] Troubles with subset()

Virgile Capo-Chichi vcapochichi at gmail.com
Tue Dec 11 15:09:45 CET 2012


All,
I have the attached dataset which I read from SPSS and transformed a little
bit using the attached script. I am trying to run a logistic regression
using glm() on a subset of my data. When I run the logistic regression on
the whle dataset, it runs OK. As soon as I try to run on the subset, I get
an error message related to different lengths of variables. Any idea why
this might be so? Thanks for your inputs. V


More information about the R-help mailing list