Skip to content
Prev 27106 / 63458 Next

Errors in demo (PR#10527)

On 24/12/2007 1:00 AM, rcwright at texas.net wrote:
This looks like your error, rather than a bug in R.  The formula should 
be "y ~ x" (y tilde x), not "y - x".
This warning is also a consequence of the typo, in a roundabout way.  It 
is saying that x and y are different lengths, which is clearly not true 
for the columns of dummy:  but because you just subtracted them, it took 
x and y to be variables in their own right, not columns.  Presumably the 
objects listed below are different lengths.
Please check on R-help or R-devel first, until you're sure something is 
a bug.  It takes a bit of effort to deal with a bug report regardless of 
whether it is real or not.

Duncan Murdoch