From: Liz Hare
To: r-help@r-project.org
Cc:
Sent: Tuesday, July 30, 2013 12:00 PM
Subject: [R] as.Date with characters error
Hello,
I'm trying to convert dates in the format dd-mmm-yy using as.Date.
I have two columns like this, and it works on one but not on the other.
options(stringsAsF
Hi,
Did you checked after removing "e" from "formate"?
ortho$test.dat <- as.Date(ortho$xray.date, formate="%d-%b-%y")
A.K.
- Original Message -
From: Liz Hare
To: r-help@r-project.org
Cc:
Sent: Tuesday, July 30, 2013 12:00 PM
Subject: [R] as.Date w
Hello,
I'm trying to convert dates in the format dd-mmm-yy using as.Date.
I have two columns like this, and it works on one but not on the other.
> options(stringsAsFactors=FALSE)
> ortho <- read.csv("test1.csv", header=TRUE, nrows=10)
> ortho
DogID BirthDate xray.date
1 11877 23-Aug-87 15-F
3 matches
Mail list logo