Re: [R] Script for merging datasets

From: Marshall L. Mdoka <mmdoka_at_egs.uct.ac.za>
Date: Wed, 23 May 2007 14:06:32 +0200

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



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 23 May 2007 - 12:11:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 May 2007 - 22:31:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.