Displaying 4 results from an estimated 4 matches for "skotara".
2009 Jan 12
2
assign a list using expression?
Dear R-users,
I would like to assign elements to a list in the following manner:
mylist <- list(a = a, b = b, c = c)
To do this I tried
myexpr <- expression(a = a, b = b, c = c)
mylist <- list( eval(myexpr) )
It ends up by overwriting a when b is assigned and b when c is assigned.
Additionally the element of the list does not have a name.
Could you tell me why this is the case?
Thank
2009 May 22
1
anova leads to an error
Dear R-list,
the following code had been running well over the last months:
exam <- matrix(rnorm(100,0,1), 10, 10)
gg <- factor(c(rep("A", 5), rep("B", 5)))
mlmfit <- lm(exam ~ 1); mlmfitG <- lm(exam ~ gg)
result <- anova(mlmfitG, mlmfit, X=~0, M=~1)
Until, all of a sudden the following error occured:
Fehler in
2008 Dec 04
1
How to get Greenhouse-Geisser epsilons from anova?
Dear all,
I apologize for my basic question.
I try to calculate an anova for repeated measurements with 3 factors
(A,B,C) having 2, 2, and 7 levels.
or with an additional fourth between subjects factor D.
Everything works fine using
aov(val ~ A*B*C + Error(subject/ (A*B*C) ) ) or
aov(val ~ (D*A*B*C) + Error(subject/(A*B*C)) + D )
val, A, B, C, D and subject are columns in a data.frame.
How
2009 Jan 23
1
Anova and unbalanced designs
Dear R-list!
My question is related to an Anova including within and between subject
factors and unequal group sizes.
Here is a minimal example of what I did:
library(car)
within1 <- c(1,2,3,4,5,6,4,5,3,2); within2 <- c(3,4,3,4,3,4,3,4,5,4)
values <- data.frame(w1 = within1, w2 = within2)
values <- as.matrix(values)
between <- factor(c(rep(1,4), rep(2,6)))
betweenanova <-