wrappers_parallel {gasmodel} | R Documentation |
Wrappers for Parallelization Functions
Description
Wrappers of common R parallelization functions.
Their purpose is to be passed as the parallel_function
argument in the gas_bootstrap()
function.
Usage
wrapper_parallel_none(run_num, run_fun, run_details, ...)
wrapper_parallel_multicore(run_num, run_fun, run_details, ...)
wrapper_parallel_snow(run_num, run_fun, run_details, ...)
Arguments
run_num |
A number of iterations. |
run_fun |
A function to be computed. |
run_details |
A list of variables used for computation. |
... |
Additional arguments to be passed to the parallelization function. |
Value
A list containing computed values.
Functions
-
wrapper_parallel_none()
: Wrapper for functionbase::lapply()
. -
wrapper_parallel_multicore()
: Wrapper for parallelization functionparallel::mclapply()
. -
wrapper_parallel_snow()
: Wrapper for parallelization functionparallel::parLapply()
.
See Also
gas_bootstrap()
wrappers_optim
wrappers_hessian
[Package gasmodel version 0.6.0 Index]