Skip to content
Prev 291170 / 398500 Next

cbind, data.frame | numeric to string?

Sorry, I missed that the OP's real question was in character/factor,
not in the "why are these all factors" bit...good catch.

Rant about cbind() still stands though. :-)   [Your way with cbind()
would give him all characters, not some characters and some numerics
since cbind() gives a matrix by default -- note that in Rainer's
construction, it doesn't coerce because it's giving a data.frame (as
cbind.data.frame does but cdbind.default doesn't) so no coercion is
necessary ]

Best,

Michael

On Tue, Apr 10, 2012 at 11:55 AM, Jessica Streicher
<j.streicher at micromata.de> wrote: