plotCalCurve | R Documentation |
Older version of calibration curves. Kept for reproducibility of papers.
plotCalCurve(
Data,
corTrend = FALSE,
fo = NA,
CImeth = c("eq", "pred", "dist"),
prob = seq(0.005, 0.995, by = 0.005),
dist = c("norm", "t"),
shape = 2,
valid = c("kfold", "loo"),
nFold = 10,
nRepeat = 10,
score = TRUE,
binomCI = c("wilson", "wilsoncc", "clopper-pearson", "agresti-coull", "jeffreys"),
title = "",
label = 0,
gPars = ErrViewLib::setgPars()
)
Data |
(data.frame) dataframe with predictor(s) and reference |
corTrend |
(logical) flag to correct trend |
fo |
(formula) trend correction formula |
CImeth |
(string) method to estimate CI limits |
prob |
(vector) a set of coverage probabilities to test |
dist |
(string) a distribution |
shape |
(numeric) shape parameter (> 0, maybe non-integer). |
valid |
(string) a cross-validation method: "kfold" (default) or "loo" |
nFold |
(integer) number of folds (default: 10) |
nRepeat |
(integer) number of repeats for k-fold cross-validation |
title |
(string) a title to display above the plot |
label |
(integer) index of letter for subplot tag |
gPars |
(list) graphical parameters |
uP |
(vector) a set of prediction uncertainties |
mycols |
(vector) a set of color indexes to gPars colors |
plot |
(logical) plot the results |
Invisibly returns a list of calibration statistics. Mainly used for its plotting side effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.