s-news
[Top] [All Lists]

Date column

To: <s-news@lists.biostat.wustl.edu>
Subject: Date column
From: "Overstreet, Jason (FL51)" <Jason.Overstreet@honeywell.com>
Date: Wed, 1 Mar 2006 13:29:04 -0600
Thread-index: AcY9ZmbnBpyvL9vYSUWx3xQ5HxJSWg==
Thread-topic: Date column

I am trying to use the date given in a column listed in a data frame to create a factor in another column.  In this case, I have the following:

Date1

05/01/1990

06/02/1995

07/03/2001

08/03/2003


I would like to create a corresponding column that tests the Date1 column and creates a variable in another column that states either Twentieth Century or Twenty-First Century based on the value in Date1.

Desired output:

 Date1                  Period

05/01/1990              Twentieth Century

06/02/1995              Twentieth Century

07/03/2001              Twenty-First Century

08/03/2003              Twenty-First Century


Thanks in advance

Jason Overstreet

Statistician

Honeywell DSES

(727) 539-3964

Doing what it takes to be our Customers' 1st Choice.


<Prev in Thread] Current Thread [Next in Thread>