Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/plot.summary.uncertainty.R
Builds a barplot with a bar for each source of uncertainty. If correlation is present then an additional entry is added. The current metric used to display is When correlation is present its contribution may be negative.
1 2 |
x |
an uncertainty summary object |
y |
not used. |
... |
additional parameters to customize the plot |
none
None (invisible NULL)
none
H. Gasca-Aragon
Maintainer: H. Gasca-Aragon <hugo_gasca_aragon@hotmail.com>
JCGM 100:2008. Guide to the expression of uncertainty of measurement
JCGM 100:2005. Supplement 1 Propagation of distributions usign a Monte Carlo method.
EURACHEM/CITAC Guide CG 4. Quantifying Uncertainty in Analytical Measurement
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # create an uncertainty budget
cor.mat<- matrix(c(1,-0.7,-0.7,1),2,2)
u.budget<- uncertaintyBudget(x=list(name=c("x0","x1"),
mean=c(10,20), u=c(1,5), dof=c(10,10),
label=c("x[0]", "x[1]"), distribution=c("normal","normal")),
y=cor.mat)
# estimate the measurand uncertainty using an uncertainty budget,
# a measurand definition and a selected estimating method.
GFO.res<- uncertainty(x=u.budget,
y=list(measurand_name="ratio.GFO", measurand_label="ratio[GFO]",
measurand_model="x0/x1", method="GFO", alpha=0.05))
# create an uncertainty summary object
GFO.sum<- summary(GFO.res)
# display the chart
## Not run: plot(GFO.sum)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.