[R] Odp: Merging two data sets

Petr PIKAL petr.pikal at precheza.cz
Thu Sep 23 14:10:41 CEST 2010


Hi

?merge

see all.x, all.y parameters

Regards
Petr


r-help-bounces at r-project.org napsal dne 23.09.2010 13:59:18:

> Greetings
>     I need to merge two data sets.  The first data set contains 
information
> on individual organisms roosting in clusters,e.g., cluster one has 5
> individuals: 3 females, two males, and one juvenile and so on for 
hundreds
> of clusters.  The second data set contains temperature data on each of 
the
> plots from the first data set.  The problem: the second data set only 
has
> one data point per cluster and I need to match or duplicate those
> temperature data with each individual organism in each cluster from the
> first data set.  I hope this explanation is clear.  How do I go about 
doing
> this?  Thanks in advance.
> Cheers
> Kurt
> 
> ______________________________________________
> R-help at r-project.org 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.



More information about the R-help mailing list