add_ICs: adds information criteria to the @IC slot of an object of...

View source: R/add_ICs.R

add_ICsR Documentation

adds information criteria to the @IC slot of an object of class passed_exRa-class

Description

adds information criteria to the @IC slot of an object of class passed_exRa-class

Usage

add_ICs(obj, ignoreCores = 1)

Arguments

obj

an object of class passed_exRa-class

ignoreCores

a numeric value for the number of virtual CPU cores (threads)to hold out in computing the information criteria.

Value

an object of passed_exRa-class.

Examples


  library(exhaustiveRasch)
  data(ADL)
  passed <- exhaustive_tests(dset= ADL[c(1:4,7,12,14)],
    modelType= "RM", scale_length= 5, alpha=0.05,
    tests=c("test_LR", "test_itemfit", "test_respca"),
    splitcr_LR = ADL[,17], itemfit_param =
      itemfit_control(use.pval=FALSE, upperMSQ=1.5, lowerMSQ=0.5),
    estimation_param= estimation_control(
      est="psychotools"), verbose=FALSE)
  passed <- add_ICs(passed)


exhaustiveRasch documentation built on April 3, 2025, 6:18 p.m.