Apply function over a List or Vector (in parallel)

map_par(x, fun, parallel = FALSE, verbose = TRUE)

Arguments

x

A vector or list to apply over.

fun

The function to be applied to each element.

parallel

Logical. Whether to use foreach to parallelize.

verbose

Logical. Whether to print progress bar. Only works in sequential mode.

Value

A list.