Displaying 1 result from an estimated 1 matches for "firedataappling".
2006 Mar 24
3
Date in dataframe manipulation
Hi,
I have a dataframe with many columns, including date and I want to keep
only a few of the columns including date column.
I used the following command:
with(FireDataAppling, cbind(STARTDATE, County, TOTAL, CAUSE)
It works, but the date becomes days from Jan 1, 2001.
FireDataAppling$STARTDATE[1] gives
[1] 2001-01-04 00:00:00
1703 Levels: .........
After the cbind command, the entry becomes a 4.
I want to get 2001-01-04. What command should I use?
Thank yo...