I’m trying to read in the data below from an Excel file (as a .csv file) in order to create an age (in years.%years) but am getting the error message in the subject line.
I’ve tried saving the dates as dates in Excel and tried saving the dates as text, both give me the same error message. Can someone pls tell me what I’m doing wrong? Gender DOB Diagnosis Screen Date Male 14 JULY 2012 No 05 OCTOBER 2015 Female 31 OCTOBER 2009 No 30 NOVEMBER 2015 Female 08 JULY 2009 No 06 DECEMBER 2015 Male 04 JUNE 2011 NA 11 JANUARY 2016 Female 21 AUGUST 2009 Yes 01 FEBRUARY 2016 Male 05 NOVEMBER 2007 No 16 FEBRUARY 2016 Male 01 JUNE 2009 NA 29 FEBRUARY 2016 Ken kmna...@gmail.com 914-450-0816 (tel) 347-730-4813 (fax) ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.