>
>
>
>
>
>
> *From:* R-help on behalf of Spencer
> Graves
> *Sent:* Tuesday, August 22, 2017 2:49 PM
> *To:* r-help@r-project.org
> *Subject:* Re: [R] Convert Factor to Date
>
>
&g
-16
Jul-16 1-Aug-16
Aug-16 1-Aug-16
Sep-16 1-Aug-16
Oct-16 1-Aug-16
From: R-help on behalf of Spencer Graves
Sent: Tuesday, August 22, 2017 2:49 PM
To: r-help@r-project.org
Subject: Re: [R] Convert Factor to Date
On 2017-08-22 1:30 PM, Patrick Casimir
On 2017-08-22 1:30 PM, Patrick Casimir wrote:
Dear R Fellows,
I Have a dataset( data1) with 2 columns of date showing a class of factor. How
to convert them to date? Then compare them, keep the greater date only in a new
column. Using as.Date to change the class to Date but the data becomes
Dear R Fellows,
I Have a dataset( data1) with 2 columns of date showing a class of factor. How
to convert them to date? Then compare them, keep the greater date only in a new
column. Using as.Date to change the class to Date but the data becomes NA.
Much Thanks
COL1COL2
Apr-16 1-Nov-16
4 matches
Mail list logo