parLply {bayesdistreg}R Documentation

Parallel compute

Description

parLply uses parlapply from the parallel package with a function as input

Usage

parLply(vec, fn, type = "FORK", no_cores = 1, ...)

Arguments

vec

vector of inputs over which to parallel compute

fn

the function

type

this option is set to "FORK", use "PSOCK" on windows

no_cores

the number of cores to use. Defaults at 1

...

extra inputs to fn()

Value

out parallel computed output


[Package bayesdistreg version 0.1.0 Index]