R/Probtrace_sirt.R

Defines functions Probtrace_sirt

## File Name: Probtrace_sirt.R
## File Version: 0.05


# auxiliary function for mirt package
# trace function for all items
Probtrace_sirt <- function(items, Theta)
{
    TAM::require_namespace_msg("mirt")
    traces <- lapply(items, mirt::probtrace, Theta=Theta)
    ret <- do.call(cbind, traces)
    return(ret)
}

Try the sirt package in your browser

Any scripts or data that you put into this service are public.

sirt documentation built on May 29, 2024, 8:43 a.m.