[R] date format

Ben Bolker bbolker at gmail.com
Thu Nov 28 16:07:29 CET 2013


eliza botto <eliza_botto <at> hotmail.com> writes:

> 
> Dear Users of R,
> I have a data frame with three column, the first column contains years,
the second one months and third one,
> the days (cbind(yyyy mm dd)). I want to combine them so that i have one
column with the date format as (dd.mm.yyyy).
> Is there a way of doing that.
> Thanks in advance,
> Eliza 		 	   	

  I think just paste(dd,mm,yyyy,sep=".") should work fine (where 'dd','mm',
'yyyy' are references to your columns)



More information about the R-help mailing list