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:
|
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)