formatDates | R Documentation |
formats Dates as far as possible given the variety that may be presented
formatDates(dateCol)
dateCol |
Column containing date values |
e <- c('Pieris rapae','Turdus merula')
f <- c('Small White','Blackbird')
g <- c('Mike Jeffries','Alnwick Wildlife Group')
h <- c('Morpeth Town','Morpeth Town')
i <- c('04/09/2010','04/09/2010')
df <- data.frame(e,f,g,h,h,i)
names(df) <- c('Taxon.Lati', 'Taxon.Comm', 'Sample.Rec', 'Sample.Loc', 'Sample.L_1', 'Sample.Dat')
df$'Sample.Dat'<-formatDates(df$'Sample.Dat')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.