read_oplm_par: Read item parameters from oplm PAR or CML files

View source: R/oplike.R

read_oplm_parR Documentation

Read item parameters from oplm PAR or CML files

Description

Read item parameters from oplm PAR or CML files

Usage

read_oplm_par(par_path)

Arguments

par_path

path to a file in the (binary) OPLM PAR format or the human readable CML format

Details

It is very occasionally useful to calibrate new items on an existing scale. This function offers the possibility to read parameters from the proprietary oplm format so that they can be used to fix a new calibration in Dexter on an existing scale of items that were calibrated in oplm.

Value

depends on the input. For .PAR files a data.frame with columns: item_id, item_score, beta, nbr, for .CML files also several statistics columns that are outputted by OPLM as part of the calibration.

Examples

## Not run: 
\donttest{
par = read_oplm_par('/parameters.PAR')
f = fit_enorm(db, fixed_params=par)
}
## End(Not run)

dexter documentation built on May 25, 2022, 9:10 a.m.