Skip to content
Prev 280912 / 398503 Next

comparing fields within a record

On Dec 26, 2011, at 7:52 PM, Eric Wolff wrote:

            
dat <- within(x, Checked <-  as.Date(Inspected, format="%m/%d/%Y") <  
as.Date(Sold, format="%m/%d/%Y"))

Note: it might have been easier if you had converted those string or  
factor variables into R Date variables.

--

David Winsemius, MD
West Hartford, CT