[Rd] anova-bug in R-version 1.0.0? (PR#470)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
06 Mar 2000 16:51:10 +0100


dtrenkler@nts6.oec.uni-osnabrueck.de writes:

> Under R version 0.6.51  the following 
> 
> A_c(13,9,15,5,25,15,3,9,6,12)
> B_c(42,24,41,19,27)
> C_c(8,24,9,18,9,24,12,4)
> D_c(9,12,7,18,2,18)
> kaeufe_c(A,B,C,D)
> region_factor(rep(1:4,c(10,5,8,6)),labels=LETTERS[1:4])
> anova(lm(kaeufe~region))   
> 
> delivers
> 
> Analysis of Variance Table
> 
> Response: kaeufe
>           Df  Sum Sq Mean Sq F value   Pr(>F)    
> region     3 1474.65  491.55  8.7852 0.000376 ***
> Residuals 25 1398.80   55.95                     
> ---
> Signif. codes:  0  `***'  0.001  `**'  0.01  `*'  0.05  `.'  0.1  ` '  1
> 
> 
> This is what I expected. Under RW 1.0.0 I get
> 
> Analysis of Variance Table
> 
> Response: kaeufe
> Error in print.coefmat(x, digits = digits, signif.stars = signif.stars,
> : 
>         binary operator applied to invalid types
> 
> Am I doing something wrong or is this a real bug?

It's not happening on Unix... Does this happen when starting from a
blank workspace?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._