[R] take data from a file to another according to their correlation coefficient

jeff6868 geoffrey_klein at etu.u-bourgogne.fr
Mon Apr 23 14:43:34 CEST 2012


Hi Sarah,

Thank you for your answer.
Yes I know that my proposition is not necessary the better way to do it. But
my problem concerns only big gaps of course (more than half a day of missing
data, till several months of missing data).
I've already filled small gaps with the interpolation that you were talking
in your message (with the function na.approx of the package zoo).
For the study, it's not important to have perfectly  identical values
between the 2 correlated stations, because I'll calculate after the
reconstruction the daily mean of each station. For my boss, it's enough to
work on daily means. But before that, I need to rebuild the big missing data
gaps of my stations (by the way I explained in the first message of my
topic).
Do you have any idea of the way to do it on R according to my first post?
I forgot to precise that my examples are completely fakes! I chose these
numbers in order for you to understand what I want to do (I chose easy and
readable numbers). I tested on excel with 2 stations, it was not too bad
when I filled the gaps (between the data of the 2 well correlated stations).


--
View this message in context: http://r.789695.n4.nabble.com/take-data-from-a-file-to-another-according-to-their-correlation-coefficient-tp4580054p4580296.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list