| To: | "'s-news@lists.biostat.wustl.edu'" <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | timeDate use |
| From: | "Gupta, Pankaj*" <GuptaP@cder.fda.gov> |
| Date: | Tue, 24 Aug 2004 20:07:32 -0400 |
|
Dear users, I have a question about manipulating time-date data. Specifically, I have two columns (class factor), each containing dates which constitute the levels. e.g. an entry in the columns looks like "12AUG2000". I wish to calculate the time interval by taking difference between the respective rows in the two columns. However, when I try to use "timeDate" for each of the columns (to convert to a Splus date format) it gives me an error. I have tried using timeDate as follows: timeDate(as.character(column),in.format="%d%b%Y",format="%2m%2d%4Y")
Pankaj Gupta |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | linear interpolation through missing data, Lambert.Winnie |
|---|---|
| Next by Date: | Re: linear interpolation through missing data, Sundar Dorai-Raj |
| Previous by Thread: | linear interpolation through missing data, Lambert.Winnie |
| Next by Thread: | Re: timeDate use, Sundar Dorai-Raj |
| Indexes: | [Date] [Thread] [Top] [All Lists] |