map_par: Apply function over a List or Vector (in parallel)

View source: R/utils.R

map_parR Documentation

Apply function over a List or Vector (in parallel)

Description

Apply function over a List or Vector (in parallel)

Usage

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.


quadbiolab/Pando documentation built on April 22, 2024, 8:14 a.m.