Displaying 1 result from an estimated 1 matches for "adj_mean".
2012 Jun 30
3
How to adjust the start of a series to zero? (i.e. subtract the first value from the sequence)
...series. At the moment I only know how to do that
in Excel, by subtracting the value of time 1, point 1 from all other times
for point 1. My actual data set has many points ( 20 per bird, only 3 shown
here), so I would love to make this faster in R. Ideally, I would have
another column titled "adj_mean" for the adjusted means.
Here is an example.
> sort2v4
point time mean sd
1 1 1 52.501000 1.5073927
3 1 2 54.501818 0.8510329
4 1 3 56.601739 1.5787222
5 1 4 57.200000 1.2292726
6 1 5 59.300000 2.2632327
7 1 6 57.8008...