Displaying 1 result from an estimated 1 matches for "gain2_3".
2012 Sep 17
6
help with calculation from dataframe with multiple entries per sample
Hi
I have a dataframe similar to:
>Sample<-c(1,1,1,2,2,2,3,3,3)
>Time<-c(1,2,3,1,2,3,1,2,3)
>Mass<-c(3,3.1,3.4,4,4.3,4.4,3,3.2,3.5)
>mydata<-as.data.frame(cbind(Sample,Time,Mass))
Sample Time Mass
1 1 1 3.0
2 1 2 3.1
3 1 3 3.4
4 2 1 4.0
5 2 2 4.3
6 2 3 4.4
7 3 1 3.0
8 3 2 3.2
9 3 3