bootstrap {semTests}R Documentation

Bootstrap lavaan models.

Description

Bootstrap lavaan models.

Usage

bootstrap(m0, m1 = NULL, data)

Arguments

m0, m1

lavaan objects. Data is sample from m0 and fitted with m0 and m1. If m1 is NULL, only m0 is fitted.

data

The data used to sample from, e.g. Bollen-Stine transformed data.

Value

A bootstrapped lavaan object.


[Package semTests version 0.5.0 Index]