methods.ilab: Methods for the 'ilab' class.

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Functions for printing and plotting interlaboratory study objects objects of class ‘ilab’.

Usage

1
2
3
4
5
## S3 method for class 'ilab'
print(x, ..., digits = NULL, right = FALSE)

## S3 method for class 'ilab'
plot(x, ...)

Arguments

x

An object of class ‘ilab’

digits

Number of digits to display in budget and (if present) distribution parameter lists. Passed to format for distribution parameter list and to print.data.frame for output.

right

If TRUE, strings in uncertainty budget are right-justified. This differs from the default in print.data.frame.

...

Parameters passed to other functions

Details

The print method uses print.data.frame to display the data after formatting the distrib and distrib.pars elements.

The plot method passes the object to kplot.

Value

The print and plot methods are called for their side effects.

Author(s)

S. L. R. Ellison s.ellison@lgc.co.uk

References

None, yet.

See Also

ilab-class, subset.ilab kplot.

Examples

1
2
3
4
5
6
7
data(Pb)
il.pb<-construct.ilab(org=Pb$lab, x=Pb$value, measurand="Pb", item="none", 
                u=Pb$u, k=Pb$k, U=Pb$U, title=c("CCQM K30", "Lead in wine"), method=Pb$method)

print(il.pb)

plot(il.pb)

metRology documentation built on Sept. 22, 2020, 3 a.m.