glance.irtree_fit: Glance at an irtree_fit object

Description Usage Arguments Value See Also Examples

View source: R/tidiers.R

Description

Glance accepts an irtree_fit object and returns a tibble with exactly one row of model summaries.

Usage

1
2
## S3 method for class 'irtree_fit'
glance(x = NULL, ...)

Arguments

x

object of class irtree_fit as returned from fit().

...

Additional arguments. Not used.

Value

A one-row tibble with columns such as AIC and BIC.

Converged

The column converged indicates whether the model converged or not. For Mplus, this is TRUE if the output contained the phrase "The model estimation terminated normally". For mirt, this is equal to the output of mirt::extract.mirt(x, "converged"). For TAM, this is NA if no clear signs of non-convergence were observed. You are encouraged to check any warnings or errors in any case.

Iterations

iterations is NA for Mplus models since respective information is not easily obtained from the output.

See Also

generics::glance(), mirt::extract.mirt(x, "secondordertest")

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data("jackson")
df1 <- jackson[1:234, paste0("C", 1:5)]
irtree_create_template(df1)
m1 <- "
IRT:
t BY C1@1, C2@1, C3@1, C4@1, C5@1;
Class:
GRM"
fit1 <- fit(irtree_model(m1), data = df1)

tidy(fit1, par_type = "difficulty")

glance(fit1)

augment(fit1)

ItemResponseTrees documentation built on July 2, 2020, 2:25 a.m.