boot_ab: boot_ab

Description Usage Arguments

View source: R/mediations.R

Description

See bootMer for more information on arguments for re.form and type.

Usage

1
2
3
boot_ab(x, nsim, ncpus, re.form = NA, type = c("parametric",
  "semiparametric", "cases"), how = c("groups", "within", "both"),
  seed = NULL)

Arguments

x

a permediatrMod object.

re.form

formula, NA (equivalent to bootMer's use.u=FALSE; new normal deviates are drawn), or NULL (equivalent to bootMer's use.u=TRUE; all inference is conditional on these values) or formula specifying which random effects to incorporate. See simulate.merMod for further details. Not used if type == 'cases'.

type

character string specifying the type of bootstrap, "parametric" or "semiparametric"; partial matching is allowed.

how

character specifying the type of resampling if type == 'cases'.

seed

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