massStandard {masscor} | R Documentation |
Creates an object of class "massStandard"
.
Description
The object of class "massStandard"
contains the calibration
information of a mass standard
that is used in routine balance verification (e g. to calculate
normalized error. See normalizedError()
). A version to store
information of several mass
standards that belong to the same kit is massStandardKit()
.
Usage
massStandard(nominal, convMassCor, uncert, units = c("g", "mg", "mg"),
serial = NULL, manufacturer = NULL, class = NULL, certificate = NULL,
traceability = NULL, Temp = NULL, p = NULL, h = NULL,
unitsENV = c("deg.C", "hPa", "%"), expanded = TRUE, k = 2, rho = 8,
u_rho = 0.06, unitsrho = "g/cm^3", institution = NULL, date = NULL,
add.info = NULL, partofakit = FALSE)
Arguments
nominal |
nominal mass of the mass standard. |
convMassCor |
conventional mass correction for the mass standard. |
uncert |
standard uncertainty of the conventional mass correction. |
units |
character vector of length 3 with the units of
|
serial |
serial number of the mass standard or mass standards kit. |
manufacturer |
character with the manufacturer of the mass standard or mass standards kit. |
class |
character with the claimed class of the mass standard or mass standards kit, according to OIML (2004). |
certificate |
character with the calibration certificate number and date of issue. |
traceability |
character with information regarding the traceability of the calibration. |
Temp |
ambient temperature at the moment of the calibration. |
p |
barometric pressure at the moment of the calibration. |
h |
relative humidity at the moment of the calibration. |
unitsENV |
character vector of length three with the units of
|
expanded |
if |
k |
coverage factor for the expanded uncertainties when
|
rho |
density of the mass standard. |
u_rho |
Uncertainty in the density of the mass standard. |
unitsrho |
Units of the density of the mass standard.
Default is |
institution |
character with the identification of the calibration laboratory. |
date |
character with the date of the measurements. |
add.info |
named list or vector with any additional details included in the calibration certificate. |
partofakit |
Logical. Is the mass standard part of kit? |
Value
Object of class "massStandard"
with the information of
a calibrated mass standard.
unitsENV
Temperature units (Temp
) can be either 'deg.C'
(for Celsius degrees) or 'K'
.
Pressure units (p
) can be any of 'mmHg'
,
'Pa'
, 'hPa'
or 'kPa'
.
Relative humidity (h
) can be expressed as
fraction ('frac'
) or as percentage ('%'
).
A typical arrangement for the parameter unitsENV
would be c('deg.C', 'hPa', '%')
.
References
OIML, (2004). ORGANISATION INTERNATIONALE DE MÉTROLOGIE LÉGALE. International Document OIML R 111: Weights of classes E1, E2, F1, F2, M1, M1–2, M2, M2–3 and M3.
See Also
massStandardKit()
, normalizedError()
Examples
singleMS.E2.10g <- massStandard(nominal = 10, convMassCor = 0.001,
uncert = 0.1,
units = c('g', 'mg', 'mg'))
print(singleMS.E2.10g)