Displaying 2 results from an estimated 2 matches for "spaevp".
Did you mean:
savp
2004 Mar 13
1
Error in "names<-.default"(`*tmp*`, value = nmstrata) :
...The
dataframe also looks ok to me.
I use:
spk =factor(rep(c("spk1","spk2","spk3","spk4","spk5","spk6","spk7","spk8"),
c(2,2,2,2,2,2,2,2)))
cs = factor(rep(c("yes","no"),c(8,8)))
sub = factor(sort(spaeVP))
rati = stack(data.frame(arousal))
rati = rati[,1]
rating.df <- data.frame(sub, cs, spk, rati)
summary(aov(rati ~ cs*spk + Error(sub/(cs*spk)), data=rating.df))
I get this Error (after about 5sec):
Error in "names<-.default"(`*tmp*`, value = nmstrata) :
names attribute must be...
2004 Mar 13
0
... Error in "names<-.default"(`*tmp*`, value = nmstrata)
...) term. I found the hint for this usage in "Notes on the use of R for psychology experiments and questionaires" (Jonathan Baron, 2003).cs and speaker are within-subjects factors. rati is the dependent variable: ratings done by subjects. sub are the subject-codes (between-subjects factor). SpaeVP is sorted because in the preprocessing I needed to recoded data of each subject and did:
>testfac <- as.factor(spaeVP)>levels(testfac) -> vpnso I could do "for ( i in vpn)".after that data (rati) was sorted so I sorted spaeVp too, before putting it into the dataframe. (I found...