vm_sev_dat_simulation: Generate Nonnormal Data Using the Vale and Maurelli (1983)...

Description Usage Arguments Author(s) See Also

View source: R/vm_sev_complete_dat.R

Description

Generate Nonnormal Data Using the Vale and Maurelli (1983) Approach following a Simple Mediation Model (Skewness = 3, Kurtosis = 21) (Simulation)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
vm_sev_dat_simulation(
  dir = getwd(),
  all = TRUE,
  taskid = NULL,
  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 vm_sev_dat_* are stored.

all

Logical. Process all results.

taskid

Vector of integers. taskid to use when all = FALSE.

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 multivariate normal data functions: mvn_dat_simulation(), mvn_dat_task(), mvn_dat(), mvn(), setparamsmvn(), useparamsmvn(), vm_mod_dat_simulation_simulation_summary(), vm_mod_dat_simulation_task_summary(), vm_mod_dat_simulation(), vm_mod_dat_task(), vm_mod_dat(), vm_sev_dat_simulation_simulation_summary(), vm_sev_dat_simulation_task_summary(), vm_sev_dat_task(), vm_sev_dat()


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