lapply_rbind: Lapply then rbind.

Description Usage Arguments Value Examples

View source: R/lapply_rbind.R

Description

A wrapper for a do.call('rbind', lapply(X, FUN)).

Usage

1
lapply_rbind(X, FUN = function(x) {     x })

Arguments

X

A list.

FUN

A function.

Value

A matrix or a data.frame, depending on the objects in X.

Examples

1
2
lapply_rbind( list(a = c(1,2), b =c(3,4)), sum)
lapply_rbind( as.list(cars), function(x) mean(x))

RocArm/RUC documentation built on May 14, 2019, 8 a.m.