print.summary.uncertainty: Displays a list with the uncertainty contribution from each...

View source: R/print.summary.uncertainty.R

print.summary.uncertaintyR Documentation

Displays a list with the uncertainty contribution from each input quantity

Description

For each input quantity (source of uncertainty) it shows the uncertainty contribution, measured in percent of variance of the measurand model.

Usage

## S3 method for class 'summary.uncertainty'
print(x, ...)

Arguments

x

An uncertainty summary object

...

Additional parameters

Details

none

Value

None (invisible NULL)

Note

none

Author(s)

Hugo Gasca-Aragon

Maintainer: Hugo Gasca-Aragon <hugo_gasca_aragon@hotmail.com>

References

JCGM 200:2012. International vocabulary of metrology—Basic and general concepts and associated terms (VIM)

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

Becker, R.A., Chambers, J.M. and Wilks, A.R. (1988) The New S Language. Wadsworth & Brooks/Cole.

See Also

summary.uncertainty, print

Examples

# 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), unit = c("kg", "kg"), dof = c(10, 10),
	label = c("x[0]", "x[1]"), distribution = c("normal", "normal"),
	description = c("measurand mass", "sample mass"),
	type = c("A", "A")), 
	y = cor.mat)
u.budget

# 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",
	   measurand_description = "ratio of masses at 20 degrees celsius",
         method = "GFO", alpha = 0.05))

GFO.res

# create an uncertainty summary object
GFO.sum <- summary(GFO.res)

# implicit call to the print method
GFO.sum

# same as
print(GFO.sum)

# uncertainty summary structure
attributes(GFO.sum)

uncertainty documentation built on Dec. 15, 2025, 1:06 a.m.