[R] unlist
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Thu Jul 3 18:55:35 CEST 2003
Ernesto Jardim <ernesto at ipimar.pt> writes:
> Hi
>
> I have a list with several data.frames, all with the same number of
> colunms but different number of rows, and I'd like to transform this
> list into a single dataframe. I need to mimic an rbind of all dataframes
> ...
>
> Transform doesn't seem to work :-(
No, why should it? It's designed to add transformed variables to a
single dataframe.
I think what you're looking for is simply
do.call("rbind",list.of.frames)
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list