View source: R/cal_block_energy_with_iia.R
| cal_block_energy_with_iia | R Documentation |
Calculates local block energy including IIA metrics. Heavily optimized for Simulated Annealing.
cal_block_energy_with_iia(
block,
char_list,
weights,
fun_list,
rater_chars,
iia_weights = c(BPlin = 1, BPquad = 1, AClin = 1, ACquad = 1),
verbose = FALSE
)
block |
An n by k integer matrix of item indices. |
char_list |
A list of vectors for item characteristics. |
weights |
A numeric vector of weights for item characteristics. |
fun_list |
A list of pre-matched R function objects. |
rater_chars |
A matrix of participant responses. |
iia_weights |
A numeric vector of length 4 for IIA metrics. |
verbose |
Logical. If TRUE, prints metrics. Defaults to FALSE. |
A numeric value indicating the total energy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.