[R] Combining Data Sets w/ Weights

David Winsemius dwinsemius at comcast.net
Fri Sep 17 19:33:18 CEST 2010


On Sep 17, 2010, at 12:42 PM, btpagano wrote:

>
> Good News!
>
> I think I figured out my problem.
>
> The command I was looking for was append().

Er, maybe.
It does appear that you could use append() but c() is much more the  
typical R way of concatenating objects like vectors and lists. The  
only advantage of append() over c() would appear to be the capacity  
for insertion of the second argument somewhere "in the middle" of the  
the first.  The cbind and rbind functions are used for more complex  
objects like dataframes and matrices.

-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list