plot.krippendorffsalpha | R Documentation |
Plot the results of a Krippendorff's Alpha analysis.
## S3 method for class 'krippendorffsalpha' plot( x, y = NULL, level = 0.95, type = 7, density = TRUE, lty.density = 1, lty.estimate = 1, lty.interval = 2, col.density = "black", col.estimate = "orange", col.interval = "blue", lwd.density = 3, lwd.estimate = 3, lwd.interval = 3, ... )
x |
an object of class |
y |
always ignored. |
level |
the desired confidence level for the interval. The default is 0.95. |
type |
the method used to compute sample quantiles. This argument is passed to |
density |
logical; if |
lty.density |
the line type for the kernel density estimate. The default is 1. |
lty.estimate |
the line type for the estimate of alpha. The default is 1. |
lty.interval |
the line type for the confidence limits. The default is 2. |
col.density |
the color for the kernel density estimate. The default is black. |
col.estimate |
the color for the estimate of alpha. The default is orange. |
col.interval |
the color for the confidence limits. The default is blue. |
lwd.density |
the line width for the kernel density estimate. The default is 3. |
lwd.estimate |
the line width for the estimate of alpha. The default is 3. |
lwd.interval |
the line width for the confidence limits. The default is 3. |
... |
additional arguments. These are passed to |
This function plots the results of a Krippendorff's Alpha analysis, assuming that krippendorffs.alpha
was called with confint = TRUE
.
Krippendorff, K. (2013). Computing Krippendorff's alpha-reliability. Technical report, University of Pennsylvania.
# The following data were presented in Krippendorff (2013). nominal = matrix(c(1,2,3,3,2,1,4,1,2,NA,NA,NA, 1,2,3,3,2,2,4,1,2,5,NA,3, NA,3,3,3,2,3,4,2,2,5,1,NA, 1,2,3,3,2,4,4,1,2,5,1,NA), 12, 4) fit.nom = krippendorffs.alpha(nominal, level = "nominal", confint = TRUE, verbose = TRUE, control = list(bootit = 1000, parallel = FALSE)) dev.new() plot(fit.nom, main = "Results for Nominal Data", xlab = "Bootstrap Estimates", density = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.