I need some help smoothing out some data in R. So basically, I just have a 'time' column and a 'velocity' column. The velocity basically represents the movement of certain tadpoles. Its just that my data has a lot of noise and I think that using 'moving averages' might help me smooth out my graphs and reveal certain patterns . How do I do this in R? Or are there better smoothing techniques I can use that might be easier for a rookie R user like me to understand?
Thanks guys
My data basically looks like this...but it lasts up 9000s
Time Velocity
1.36 2.4
1.81 1.2
2.19 2.4
2.51 2.1
2.98 1.8
3.51 3.0
4.88 2.1
5.38 2.0
6.52 2.4
6.71 1.2
7.29 2.4
7.67 2.1
8.27 1.8
9.13 3.0
9.95 2.1
10.69 2.0
11.29 2.54
12.82 1.64
13.32 2.70
13.89 2.19
14.33 2.44
14.93 2.93
15.75 2.77
17.63 3.21
18.18 2.4
18.82 1.2
20.02 2.4
20.86 2.1
21.44 1.8
22.24 3.0
23.07 2.1
23.67 2.0