Description Usage Arguments Details Value Examples
Compute the consensus for an item, based on Tastle & Wiermann, (2006).
1 |
item |
The item that should be analyzed. |
range |
The range of the item indicating the valid values. Default is |
consensus.only |
Logical, if only the consensus should be reported. Default is to |
round |
The number of digits to round the result to. Default is to 2. |
The number of valid answers on that item
The minimum answer on that item
The maximum answer on that item
The consensus
The dissensus
The absolute number of missing values on that item, defined as NA
The relative number of missing values on that item, defined as NA
Returns an data frame with the consensus and additional information for each item. See details for further explanation.
1 2 3 4 5 6 | item <- c(rep(1, 19), rep(2, 8), rep(3, 26), rep(4, 29),
rep(5, 5), rep(NA, 5), rep(-2, 4), rep(-3, 4))
consensus(item, range = c(1, 5), round = 4)
## or the original example from the article:
item <- c(rep(1, 19), rep(2, 16), rep(3, 26), rep(4, 29), rep(5, 10))
consensus(item, range = c(1, 5), round = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.