tabScoresRef | R Documentation |
Table of calibration scores with probabilistic references
tabScoresRef(
E,
u,
X = NULL,
nBin = NULL,
intrv = NULL,
nMC = 1000,
dist = c("Normal", "Uniform", "Normp4", "Laplace", "T4"),
rawUnc = FALSE,
quant = FALSE
)
E |
(vector) errors |
u |
(vector) prediction uncertainties |
X |
(vector/matrix) input features / coordinates (default: 'NULL') |
nBin |
(integer) number of bins used for statistics (default: 'sqrt(length(E))'). Superseded by 'intrv$nbr' if present. |
intrv |
(list) intervals generated by 'genIntervals' (default: 'NULL') |
nMC |
(integer) sampling size (default: 1000) |
dist |
(string) model error distribution to generate the reference values. One of 'Normal' (default), 'Uniform', 'Normp4', 'Laplace' or 'T4' |
rawUnc |
(logical) if TRUE, output unformatted reference uncertainties |
quant |
(logical) if TRUE, return 95% confidence interval limits |
A table with two lines, three if rawUnc is TRUE, and two more if quant is TRUE.
uE = sqrt(rchisq(1000, df = 4)) # Re-scale uncertainty
E = rnorm(uE, mean=0, sd=uE) # Generate errors
tabScoresRef(E, uE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.