psapply {grandR}R Documentation

Parallel (s/l)apply

Description

Depending on whether SetParallel has been called, execute in parallel or not.

Usage

psapply(..., seed = NULL)

plapply(..., seed = NULL)

Arguments

...

forwarded to lapply or parallel::mclapply

seed

Seed for the random number generator

Details

If the code uses random number specify the seed to make it deterministic

Value

a vector (psapply) or list (plapply)


[Package grandR version 0.2.5 Index]