From dtrenkler@nts6.oec.uni-osnabrueck.de  Mon Mar  6 15:35:45 2000
From: dtrenkler@nts6.oec.uni-osnabrueck.de (dtrenkler@nts6.oec.uni-osnabrueck.de)
Date: Mon, 6 Mar 2000 16:35:45 +0100 (MET)
Subject: [Rd] anova-bug in R-version  1.0.0? (PR#470)
Message-ID: <200003061535.QAA07778@pubhealth.ku.dk>

# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
#       r-bugs@biostat.ku.dk
#
######################################################

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?

Regards,

  *** D.Trenkler ***

====================================================================
Dietrich Trenkler                   (trenkler@oec.uni-osnabrueck.de)
Statistik / Empirische Wirtschaftsforschung
Universitaet Osnabrueck
Rolandstrasse 8                           Phone: +49(0) 541-969-2753
D-49069 Osnabrueck                        Fax  : +49(0) 541-969-2745
GERMANY
====================================================================



--please do not edit the information below--

Version:
 platform = Windows
 arch = x86
 os = Win32
 system = x86, Win32
 status = 
 major = 1
 minor = 0.0
 year = 2000
 month = February
 day = 29
 language = R

Windows NT 4.0 (build 1381) Service Pack 3

Search Path:
 .GlobalEnv, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] anova-bug in R-version 1.0.0? (PR#470)
dtrenkler@nts6.oec.uni-osnabrueck.de