run_simulation: run_simulation

Description Usage Arguments

View source: R/simulate.R

Description

run_simulation

Usage

1
2
3
4
run_simulation(nreps, niter, mc.cores, simtype = "permutation",
  J = 100, n_j = 4, a = 0, b = 0, c_p = 0, theta_ab = 0.2,
  optimizer = "bobyqa", re.form = NULL, permtype = "within",
  boottype = "parametric")

Arguments

nreps

Number of repetitions using new data.

niter

For each simulated data set, number of permutation or bootstrap iterations.

mc.cores

Number of cores to use.

simtype

Permutations or bootstrap.

permtype

This can be used to specify either the permutation type ('within', 'between', or 'between_within'), or if simtype is 'bootstrap', and boottype is 'cases', it is used to specify how cases are resampled, ('groups', 'within', 'both').

boottype

jflournoy/permediatr documentation built on Dec. 10, 2019, 11:34 a.m.