Displaying 1 result from an estimated 1 matches for "summer_at_cd".
Did you mean:
summer_at_cds
2009 Jul 30
1
lmer() and "$ operator is invalid for atomic vectors"
...) and one within
factor (item): "$ operator is invalid for atomic vectors"
I'll just provide the code, because I don'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 <- fact...