bootstrapper {semTests}R Documentation

Bootstrap lavaan objects using the

Description

Bootstrap lavaan objects using the

Usage

bootstrapper(
  m0,
  m1 = NULL,
  functional = identity,
  n_reps = 1000,
  bs = TRUE,
  skip_warning = FALSE
)

Arguments

m0, m1

Several lavaan objects.

functional

The functional to calculate. Takes a list of lavaan objects as its argument. Defaults to identity, but that's not a good idea to use, as it consumes a lot of memory.

n_reps

Number of bootstrap repetitions.

bs

If TRUE then Bollen-Stine, else no transform.

skip_warning

If TRUE, ignores bootstrapped estimates with warnings.

Value

Bootstrapped objects as calculated by functional.


[Package semTests version 0.5.0 Index]