Skip to content
Prev 30687 / 398506 Next

making a dataframe out of lapply() result

Mahbub's solution 

data.frame(t(sapply(...)))

is much faster than

do.call("rbind", lapply(...))

as tested on a larger dataset.

Thanks everyone,

Remko Duursma
--

On Tue, 15 Apr 2003 22:10:28
Mahbub Latif wrote: