[R] merging data sets to match data to date

Erik Iverson iverson at biostat.wisc.edu
Wed Aug 13 15:08:31 CEST 2008


rcoder wrote:
> Hi everyone,
> 
> I want to extract data from a data set according to dates specified in a
> vector. I have created a blank matrix with row names (dates) that I want to
> extract from the full data set. I have then performed a merge to try to o/p
> rows corresponding to common dates to a results matrix, but the operation
> did not fill the results matrix. Coulc anyone offer any advice to assist
> with this operation?

Yes, follow the posting guide and provide commented, minimal, 
self-contained, reproducible code of your problem.



More information about the R-help mailing list