[R] Automatically fix big jumps in one variable due to anomalies

2013-03-04 Thread Cesar Terrer
Hi, I am attaching a plot where you can see there are a few "jumps" (plots 1, 4, 5 and 6), due to incidents with the measuring sensors (basically someone touching the sensor). I need to revert those changes to have a plot without unreal measurements, so make those fragments go back to its original

[R] Select first element of each factor and convert to NA

2013-02-28 Thread Cesar Terrer
Hi all, I have a dataframe of the following type: DayPlace dendrometermax 1 1 1 4684 2 1 1 4831 .. 1 1 2 2