[R] Script for merging datasets

Marshall L. Mdoka mmdoka at egs.uct.ac.za
Wed May 23 14:06:32 CEST 2007


Hi All,

I am still new and so good with R. I am looking for anyone who can help 
me with a script that can read and merge two ascii rainfall datasets but 
discarding all the similar/repeated years within them. The new dataset 
has missing months but it has a longer period than the old data which 
however contains those missing months for some of those missing in the 
new data set. If the script can be able to write the missing years by 
assigning some arbitrary value like -99.9. The data is in the list type 
of format i.e. year month day rainfall.

Thanking you in advance,

Marshall


More information about the R-help mailing list