beta_jack_simulation: Jackknife Estimates of Indirect Effect in a Simple Mediation...

Description Usage Arguments Author(s) See Also

View source: R/beta_complete_unstd_jack.R

Description

Jackknife Estimates of Indirect Effect in a Simple Mediation Model for Data with Beta X (Simulation)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
beta_jack_simulation(
  dir = getwd(),
  all = TRUE,
  taskid = NULL,
  overwrite = FALSE,
  par = TRUE,
  ncores = NULL,
  blas_threads = TRUE,
  mc = TRUE,
  lb = FALSE,
  cl_eval = FALSE,
  cl_export = FALSE,
  cl_expr,
  cl_vars
)

Arguments

dir

Character string. Directory where results of beta_dat_* are stored.

all

Logical. Process all results.

taskid

Numeric. Task ID.

overwrite

Logical. Overwrite existing results.

par

Logical. If TRUE, use multiple cores. If FALSE, use lapply().

ncores

Integer. Number of cores to use if par = TRUE. If unspecified, defaults to detectCores() - 1.

blas_threads

Logical. If TRUE, set BLAS threads using blas_set_num_threads(threads = blas_get_num_procs()). If FALSE, set BLAS threads using blas_set_num_threads(threads = 1). If par = TRUE, blas_threads is automatically set to FALSE to prevent conflicts in parallel processing. This argument is useful when FUN can handle implicit parallelism when par = FALSE, for example linear algebra operations.

mc

Logical. If TRUE, use parallel::mclapply(). If FALSE, use parallel::parLapply() or parallel::parLapplyLB(). Ignored if par = FALSE.

lb

Logical. If TRUE use parallel::parLapplyLB(). If FALSE, use parallel::parLapply(). Ignored if par = FALSE and mc = TRUE.

cl_eval

Logical. Execute parallel::clusterEvalQ() using cl_expr. Ignored if mc = TRUE.

cl_export

Logical. Execute parallel::clusterExport() using cl_vars. Ignored if mc = TRUE.

cl_expr

Expression. Expression passed to parallel::clusterEvalQ() Ignored if mc = TRUE.

cl_vars

Character vector. Names of objects to pass to parallel::clusterExport() Ignored if mc = TRUE.

Author(s)

Ivan Jacob Agaloos Pesigan

See Also

Other jackknife functions: beta_jack_task(), beta_jack(), exp_jack_simulation(), exp_jack_task(), exp_jack(), jack(), mvn_jack_simulation(), mvn_jack_task(), mvn_jack(), mvn_std_jack_simulation(), mvn_std_jack_task(), mvn_std_jack(), vm_mod_jack_simulation(), vm_mod_jack_task(), vm_mod_jack(), vm_mod_std_jack_simulation(), vm_mod_std_jack_task(), vm_mod_std_jack(), vm_sev_jack_simulation(), vm_sev_jack_task(), vm_sev_jack(), vm_sev_std_jack_simulation(), vm_sev_std_jack_task(), vm_sev_std_jack()


jeksterslabds/jeksterslabRmedsimple documentation built on Oct. 16, 2020, 11:30 a.m.