gather_data: Collect Data from Estimated Models

View source: R/gather_data.r

gather_dataR Documentation

Collect Data from Estimated Models

Description

Collects data from model and transforms it from wide- to long-form. Also estimates bootstrapped posterior standard deviations for the latent point estimates.

Usage

gather_data(
  x,
  ...,
  boot_sd = FALSE,
  Nboot = 100,
  dynIRT_control = list(threads = 1, verbose = TRUE, thresh = 1e-06, maxit = 500)
)

Arguments

x

An object of class legR.

...

Other arguments to be passed down

boot_sd

Logical indicating whether bootstrapped posterior standard deviations should be produced.

Nboot

If boot_sd = TRUE, then how many bootstrap samples should be used to calculate the posterior standard deviation.

dynIRT_control

A list of control parameters for the dynamic IRT models.

Value

A data frame with latent variable estimates.


davidaarmstrong/legR documentation built on Oct. 13, 2023, 1:08 p.m.