Warning:
" 'newdata' had 87 rows but variable(s) found have 263 rows "
Commands:
datamethod1 <- data.frame(method1) resultmethod1<- glm(Y ~ method1,
binomial(link="probit"), data=datamethod1, control=glm.control(epsilon =
1e-8, maxit = 100, trace = FALSE))
prediction1 <- predict(resultmethod1, newdata=data.frame(testgroup),
type="response", se.fit=TRUE)
Where 'method1' has 263 rows and 4 variables (columns) named:
"minx1" "maxx1" "minx2" "maxx2"
And 'testgroup' has 87 rows and the same 4 variables (columns) which have
the same name.
So, i hope you guys can help me figure out what i am doing wrong.
thanks again
Diego
[[alternative HTML version deleted]]
______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.