aggregate_bootstraps: Aggregate Bootstrapped Models

View source: R/f_convenience_aggregate_bootstraps.R

aggregate_bootstrapsR Documentation

Aggregate Bootstrapped Models

Description

Aggregates bootstrap results into a psychonetrics_bootstrap object

Usage

aggregate_bootstraps(sample, bootstraps, remove_problematic = TRUE)

Arguments

sample

The original psychonetrics object (not bootstrapped)

bootstraps

A list of bootstrapped psychonetrics objects (i.e., using bootstrap = TRUE)

remove_problematic

Remove bootstraps that did not converge (sum of absolute gradient > 1)

Details

After running this function, the helper functions parameters, fit, and CIplot can be used to investigate bootstrap results.

Value

An object of the class psychonetrics_bootstrap

Author(s)

Sacha Epskamp


psychonetrics documentation built on June 22, 2024, 10:29 a.m.