CA.plotCI | R Documentation |
CA.plotCI()
takes the argument of CA.rel()
and and plots the confidence
interval plots for the C, O/U, and NRI calibration statistics.
CA.plotCI(CA.rel, ylim = list(C = NULL, OU = c(0), NRI = NULL))
CA.rel |
Object created by the CA.rel function |
ylim |
A list with the limitation of the y axis for each calibration statistic. |
For a more detailed explanation see the github page for a manual. https://github.com/IngerMathilde/CArelationship
Inger van Boeijen <inger.vb.r@gmail.com>
library(jtools)
data(metamemoryCA)
# Create a CI plot for the C, OU, NRI statistics for high and low metamemory raters of two
# different components.
ChMM <- CA.rel(data = metamemoryCA, confidence = "Confidence",
correct = "ChoiceCorrect", test = "CAL",
var = c("Rater.EMS.Relative.Face.Recognition",
"Rater.EMS.Eyewitness.Ability"),
var.levels = c('Low', 'High'),
confidenceLevels = list(c(0,20),c(30,40), c(50,60), c(70,80), c(90,100)),
jack = TRUE)
CA.plotCI(ChMM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.