irr: Item Response Rate

Description Usage Arguments Value Author(s)

View source: R/irr.R

Description

Item response rate calculates the proportion of responses for a given matrix of response indicators rij.

Usage

1
irr(rij, bij, obsi = 1:nrow(rij), varj = 1:ncol(rij), weight)

Arguments

rij

(mandatory): A matrix containing the response indicators for a given dataframe. rij can be calculated using the function rind.

bij

(optional): A matrix containing the structurally missingness indicators. bij can be calculated using the function smind. If the argument bij is missing, the indicator irr is calculated without considering a misingness indicators matrix.

obsi

(optional): A vector with the observations in rij to to be processed. If the argument obs is missing, all observations are processed.

varj

(optional): A vector with the variables (column numbers) to be considered for the calculation. If the argument varj is missing, all variables are considered for the indicator.

weight

(optional): A vector of weights to be considered when calculating the indicator. If no weight vector is given as an argument, the indicator is calculated without considering different weights.

Value

Proportion of responses for a given matrix of response indicators rij.

Author(s)

Beat Hulliger, Juan Berdugo


sdap documentation built on May 2, 2019, 6:52 p.m.

Related to irr in sdap...