I am very new to R, so I apologize if this question is trivial. I have a row in my data of dates in the format mm/dd/yyyy; about 3500 rows.
I am using this variable in a logistic regression model, and need to treat it as continuous, not a factor as r has decided it is. I tried the as.numeric function but it resulted in all NA's and the message: "NAs introduced by coercion " If anyone knows a solution, I would greatly appreciate it. Cheers, Jake -- View this message in context: http://r.789695.n4.nabble.com/Changing-Date-Variables-as-Continuous-Variables-tp4648354.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.