Re: [R] Check for date variable in a arbitrary dataset

2008-11-25 Thread Gabor Grothendieck
If its a date you should ensure its of "Date" class prior to performing this analysis rather than representing it as something else. See R News 4/1. On Tue, Nov 25, 2008 at 2:28 AM, Harsh <[EMAIL PROTECTED]> wrote: > Thank you Gabor for your prompt reply. > > I had tried checking for class, but i

Re: [R] Check for date variable in a arbitrary dataset

2008-11-24 Thread Harsh
Thank you Gabor for your prompt reply. I had tried checking for class, but it returns three types of my dataset, which are numeric, integer and character. The problem with that is, I need to classify some columns as categorical and in doing so I have a cut off of 100 or less unique values in the c

Re: [R] Check for date variable in a arbitrary dataset

2008-11-24 Thread Gabor Grothendieck
The classes of the columns are: sapply(DF, class) On Mon, Nov 24, 2008 at 3:39 AM, Harsh <[EMAIL PROTECTED]> wrote: > Hello, > This is my first time posting to the R-help list and I apologize for > the apparent triviality of my query. > I am creating an R script to create Univariate Exploratory

[R] Check for date variable in a arbitrary dataset

2008-11-24 Thread Harsh
Hello, This is my first time posting to the R-help list and I apologize for the apparent triviality of my query. I am creating an R script to create Univariate Exploratory Analysis of a input dataset (No meta-data to provide extra information about each column) . Providing summary statistics is pos