[R] [FORGED] Re: a new df with one combined column

Rolf Turner r.turner at auckland.ac.nz
Thu Jun 30 00:00:50 CEST 2016


On 30/06/16 02:08, Ulrik Stervbo wrote:
> Then I don't understand what you want to achieve. If you want to combine
> the two columns you can do
>
> c(df1$col1,  df2$col2)

It is indeed difficult to understand what the OP wants to do.  Perhaps 
he/she wants to *paste* the two columns together?

In which case he/she should see ?paste.

cheers,

Rolf Turner


-- 
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276



More information about the R-help mailing list