Ida Scheel <[EMAIL PROTECTED]> writes:

> Hei,
> 
> I am trying to fit an ANOVA-model by lm. I get the error-message
> 
> Error in lm.fit(x, y, offset = offset, ...) :
>     negative length vectors are not allowed
> 
> which I don't understand. My data looks fine, but one factor has
> extremely many levels. Does anyone have a tip?

Not really. It sounds like it might be a bug. How many levels? Can you
generate a simple example (possibly with simulated data) showing the
same behaviour?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to