[R] (no subject)

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Jun 3 14:29:32 CEST 2003


Ida Scheel <ida.scheel at nr.no> 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
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list