Displaying 3 results from an estimated 3 matches for "myswork".
Did you mean:
myrwork
2005 Feb 02
1
anova.glm (PR#7624)
...ameter, so should be
different from the Chisq test. The following is what I got from Splus:
deathstar[31] Splus
S-PLUS : Copyright (c) 1988, 2000 MathSoft, Inc.
S : Copyright Lucent Technologies, Inc.
Version 6.0 Release 1 for Linux 2.2.12 : 2000
Working data will be in /data/home/faculty/yuedong/MySwork
> counts <- c(18,17,15,20,10,20,25,13,12)
> outcome <- factor(rep(1:3,3))
> treatment <- factor(rep(1:3,c(3,3,3)))
> glm.D93 <- glm(counts ~ outcome + treatment, family=poisson())
> anova(glm.D93, test="Chisq")
Analysis of Deviance Table
Poisson model
Response...
2005 Oct 26
1
unexpected '[<-.data.frame' result
Is this a bug?
If not, I am curious to know why '[<-.data.frame' was designed to yield
a.frame$y != a.frame$z rather than refusing to carry out the operation at
all.
> a.frame <- data.frame( x=letters[1:5] )
> a.frame[ 2:5, "y" ] <- letters[2:5]
> a.frame[[ "z" ]][ 2:5 ] <- letters[2:5]
> a.frame
x y z
1 a b <NA>
2 b c
2003 Sep 13
5
bug or feature? (PR#4150)
Full_Name: Axel Benz
Version: 1.7.1
OS: Windows
Submission from: (NULL) (137.251.33.43)
This feature seems to be a basic bug:
> 1=="1"
[1] TRUE
> as.numeric(1)=="1"
[1] TRUE
> as.numeric(1)==as.character("1")
[1] TRUE
isn't it necessary to distinguish beteen numbers and characters??
Best Regards,
Axel