parallelize: An example of user defined parallelization (cluster based)...

View source: R/the_mode_jumping_package5.r View source: R/the_mode_jumping_package4.r View source: R/the_mode_jumping_package4.0.r View source: R/the_mode_jumping_package3.r View source: R/the_mode_jumping_package2.r View source: R/the_mode_jumping_package2.0.r

parallelizeR Documentation

An example of user defined parallelization (cluster based) function for within an MJMCMC chain calculations (mclapply or lapply are used by default depending on specification and OS).

Usage

parallelize(X,FUN)

Arguments

X

a vector (atomic or list) or an expressions vector. Other objects (including classed objects) will be coerced by as.list

FUN

the function to be applied to each element of X or v, or in parallel to X

Details

Only allowed when working with big.memory based hash table within MJMCMC (see runemjmcmc for more details)

Value

parallelize(X,FUN)

a list of the same length as X and named by X

See Also

parLapply, clusterMap, mclapply, lapply, etc.


aliaksah/EMJMCMC2016 documentation built on July 27, 2023, 5:48 a.m.