Displaying 1 result from an estimated 1 matches for "nrowsnew".
Did you mean:
nrowser
2012 May 03
1
warning with glm.predict, wrong number of data rows
Hi,
I split a data set into two partitions (80 and 42), use the first as the training set in glm and the second as testing set in glm predict. But 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)