[R] When I cbind the POSIXct gets lost
Allen S. Rout
asr at ufl.edu
Tue Feb 12 19:34:02 CET 2008
"Gabor Grothendieck" <ggrothendieck at gmail.com> writes:
> The point is don't use cbind -- use data.frame.
Is there a conventional way to use data.frame instead of cbind when
processing a 'by'?
My code is littered with:
foo <- data.frame(cbind(by( /* yadda */ )))
and I've had a problem similar to the Original Poster, resulting in
some ugly reordering, so I do the as.POSIXct _after_ the
data.frame(cbind())
- Allen S. Rout
More information about the R-help
mailing list