Displaying 1 result from an estimated 1 matches for "o_1".
Did you mean:
o1
2009 Jul 30
1
lmer() and "$ operator is invalid for atomic vectors"
...n't see where the problem is:
library(lme4)
options(contrasts=c("contr.helmert","contr.poly"))
data =
read.csv("C:/Users/Angela/Desktop/Summer_at_CDS/aging_JDM_Martine/datasets/lamda.data_07.27.09.csv",
header=TRUE)
attach(data)
new<-data.frame(lamda, age.o_1, Item.l2_2,Subject)
new
Subject <- factor(Subject)
Age <- factor(age.o_1,levels=c("0","1"),labels=c("young","old"))
Item <- factor(Item.l2_2,levels=c("1","2"),labels=c("lamda1","lamda2"))
new2<-data.frame(...