unlapply: a lapply that unlists!

Description Usage Arguments

Description

run a function over a list or vector, as lapply does, but unlist the results before returning them - a common operation.

Usage

1
unlapply(x, fun, unname = TRUE, ...)

Arguments

x

a vector or list.

fun

the function to apply.

unname

whether or not to also unname the result. Set to TRUE by default.

...

further arguments to pass to fun


Ironholds/olivr documentation built on May 7, 2019, 6:40 a.m.