Skip to content
Prev 257203 / 398506 Next

mapply to lapply

On Mon, Apr 18, 2011 at 2:10 PM, Alaios <alaios at yahoo.com> wrote:
The lapply part worked but for sum you need a vector rather than a
list (which is the result of lapply). So e.g. sum(unlist(lapply(.....
something .....))) should work.

KK