calc.time: Calculate the computation time needed for the analytical...

View source: R/helper.R

calc.timeR Documentation

Calculate the computation time needed for the analytical method

Description

Calculate the computation time needed for the analytical method

Usage

calc.time(hyp, n.items)

Arguments

hyp

Hypothesis object as created by the setup.hypothesis function

n.items

Number of items

Value

Numeric, estimated time in seconds

Examples


library(mirt)
dat <- expand.table(LSAT7)
mirtfit <- mirt(dat,1,verbose = FALSE)
hyp <- setup.hypothesis(type = '1PLvs2PL', altpars = mirtfit)
calc.time(hyp,n.items=7)


irtpwr documentation built on Nov. 20, 2023, 5:07 p.m.