Re: [R] warning with glm.predict, wrong number of data rows

2012-05-03 Thread Charles Berry
carol white yahoo.com> writes: > > 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 variabl

[R] warning with glm.predict, wrong number of data rows

2012-05-03 Thread carol white
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  -