multiDelta {DeltaMAN}R Documentation

Performe massive Delta analysis

Description

multiDelta() performs the analysis of Delta for multiple raters against a goldstandard.

Usage

multiDelta(
  data,
  which.measure = c("Delta", "Agreement", "Conformity", "Predictivity", "Consistency"),
  tol = 1e-07,
  mxits = 100
)

Arguments

data

a data.frame whose first column is the goldstandard.

which.measure

character string indicating the measure of interest to retrieve from the analysis. Valid options are: "Delta" (returns global Delta and SE), "Agreement" (returns measure of agreement of each category and SE), "Conformity" (returns measure of conformity of each category and SE), "Predictivity" (returns measure of predictivity of each category and SE), and "Consistency" (returns measure of consistency of each category and SE).

tol

the desired tolerance applied to find the root of the unknown constant B, needed to estimate the model parameters.

mxits

the maximum numer of iterations applied to find the root of the unknown constant B, needed to estimate the model parameters.

Details

A print method is available for "multiDelta" objects. The results can be reported as plain tex (tex = F) or LaTeX formatted (tex = T). In the latter case, the table can be transposed (transpose = T).

Value

An object of class "multiDelta", which is a list of as many elements as measures selected.

Examples

# Create a data.frame for 1 goldstandards and 9 raters
dat = data.frame(replicate(10, sample(1:3, 120, replace = TRUE)))

# Compute de Delta model and return the Consistency a Conformity measures
mDelta = multiDelta(dat, which.measure = c('Consistency', 'Conformity'))
print(mDelta, tex = TRUE, transpose = TRUE)

[Package DeltaMAN version 0.5.0 Index]