search for: trial_number

Displaying 2 results from an estimated 2 matches for "trial_number".

Did you mean: dial_number
2010 Jul 05
3
adding a row of names to data.frame
Relative noob here, I have a data.frame and simply want to add an explicit column of names in column 1 of the form "trial_number01" for row 1, "trial_number02" for row 2 .... etc. It is simply for visual purposes and to explain data to others. I've tried Using row.names and other but still no luck, am sure it has been covered but I can't find it, can you please point me in the right direction? Thank...
2012 Aug 03
0
MANOVA with repeated measures in R
...ng_Test_Grouped.csv I create the subset for emotion Sad, and then I try to perform the MANOVA with repeated measures on it: Sad <- subset(scrd, Emotion == "Sad") model.emotions<-lm(cbind(Sad,Tender,Neutral,Happy,Aggressive) ~ Trial_type,data=scrd) idata<-data.frame(scrd$Trial_number) aov.emotions<-anova(model.emotions,idata=idata, idesign=~ Trial_type, type="III") Unfortunately I get the following error which I am not able to solve: > aov.emotions<-anova(model.emotions,idata=idata, idesign=~Trial, type="III") Error in cbind(M, X) : number o...