Displaying 1 result from an estimated 1 matches for "numb3".
Did you mean:
numba
2011 Nov 15
1
averaging between rows with repeated data
*The situation (or an example at least!)*
example<-data.frame(rep(letters[1:10]))
colnames(example)[1]<-("Letters")
example$numb1<-rnorm(10,1,1)
example$numb2<-rnorm(10,1,1)
example$numb3<-rnorm(10,1,1)
example$id<-c("CG234","CG232","CG441","CG128","CG125","CG182","CG232","CG441","CG232","CG125")
*this produces something like this:*
Letters numb1 numb2 numb3...