Displaying 1 result from an estimated 1 matches for "posixvector".
2007 Dec 27
2
Odd time conversion glitch
...rom a character representation of dates to a POSIX representation using strptime. strptime returned a vector of length 9, which appears to contain 13 values (!) in the appropriate format.
I can't find any way to convince the strptime output that it has 13 values . . . even though (for example) posixvector[1:13] returns 13 values, anothervectorof length13<-posixvector[1:13] produces a length mismatch error.
Can anyone help diagnose this, or work around it?
Many thanks,
~Pat Carroll.
> Dataset$DateFilled
[1] "10/20/2005" "11/4/2005" "11/18/2005" "12/2/200...