search for: tenenhaus

Displaying 1 result from an estimated 1 matches for "tenenhaus".

Did you mean: tenenbaum
2005 Apr 21
4
basic question
I know this question is very simple, but I am not figure it out I have the data frame:   test<- data.frame(year=c(2000,2000,2001,2001),x=c(54,41,90,15), y=c(29,2,92,22), z=c(26,68,46,51)) test   year    x   y   z 1 2000 54 29 26 2 2000 41  2  68 3 2001 90 92 46 4 2001 15 22 51   I want to sum the vectors x, y and z within each year (2000