Re: [R] preserving date formats in functions

2012-06-09 Thread Uwe Ligges
On 05.06.2012 21:44, jween wrote: Hi there! I have two date columns in a dataframe I need to selectively collapse based on missing values and which date comes first (imported from an text file). This is what I did: RHSSP$CT<- as.POSIXct(RHSSP$CT, format='%m/%d

[R] preserving date formats in functions

2012-06-05 Thread jween
Hi there! I have two date columns in a dataframe I need to selectively collapse based on missing values and which date comes first (imported from an text file). This is what I did: RHSSP$CT<- as.POSIXct(RHSSP$CT, format='%m/%d/%y %H:%M') RHSSP$MRI