Hi Eva,
you're right, it works with 50 variables. Then, how could I change this
variable limit in the lm function?
Thank you very much for your help.
Julien.
--
View this message in context:
http://r.789695.n4.nabble.com/model-frame-and-formula-mismatch-in-model-matrix-tp4664093p4664226.html
[[ni]]) <- contrasts.arg[[nn]]
}
}
}
}
else {
isF <- FALSE
data <- data.frame(x = rep(0, nrow(data)))
}
ans <- .Internal(model.matrix(t, data))
cons <- if (any(isF))
lapply(data[isF], function(x) attr(x, "
Hello everyone,
I am trying to fit the following model
All X. variables are continuous, while the conditions are categoricals.
model <- lm(X2
+X3+X4+X5+X6+X7+X8+X9+X10+X11+X12+X13+X14+X15+X16+X17+X18+X19+X20+X21+X22+X23+X24+X25+X26+X27+X28+X29+X30+X31+X32+X33+X34+X35+X36+X37+X38+X39+X40+X41+X42+X
3 matches
Mail list logo