aggregate_bootstraps function

Aggregate Bootstrapped Models

Aggregate Bootstrapped Models

Aggregates bootstrap results into a psychonetrics_bootstrap object

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.

Returns

An object of the class psychonetrics_bootstrap

Author(s)

Sacha Epskamp

  • Maintainer: Sacha Epskamp
  • License: GPL-2
  • Last published: 2024-06-20