Displaying 1 result from an estimated 1 matches for "gse13355".
2012 May 03
1
warning with glm.predict, wrong number of data rows
...t when I call glm.predict, I get the warning message:
Warning message:
'newdata' had 42 rows but variable(s) found have 80 rows
---------------------
s = sample(1:122)
glm.my.data=glm(my.data.class[s[1:80]]~t(my.data)[s[1:80],1:60],family="binomial")
pred.my.data = predict(glm.gse13355,as.data.frame(t(my.data)[s[81:122],1:60]),type="response")
Warning message:
'newdata' had 42 rows but variable(s) found have 80 rows
length(pred.my.data)
[1] 80
Thanks
Carol
[[alternative HTML version deleted]]