Displaying 2 results from an estimated 2 matches for "posxict".
Did you mean:
posixct
2010 Feb 03
3
to convert a character string in time
hi,
I have my data time expressed in character string exple "5:20" (hour:min) and i want to convert these in times recognized by R. I have tried the POSIXct function:
balise07$Hour <- as.POSXIct(balise07$Hour)
but it didn't work.
Do you know why? Do you know how i can convert my string character in a real time?
Thanks
Karine HEERAH
Master 2 mention "océanographie et environnements marins", parcours océanique
42 rue Salvador Allende
92000 Nanterre
06.61.50.97.47...
2003 Nov 12
1
value of strptime in R 1.8.0
Dear R-people!
I am using R 1.8.0, under Windows XP.
What I want to do is a date conversion of a character column of a data frame
and assign the result as a new column.
Simple example:
> x <- data.frame(a=c("yesterday","today","tomorrow"), b=I(c("20031111",
"20031112", "20031113")))
# convert x$b from character to date:
>