sum: Various summary statistics for brobs and glubs
Description
Various summary statistics for brobs and glubs
Arguments
x,...
Objects of class brob or, in the case of
sum() and prob(), class glub
na.rm
Boolean, with default FALSE meaning to interpret
NAs literally and TRUE meaning to ignore any such
elements
Details
For a brob object, being NA is not entirely
straightforward. The S4 method for is.na is too
strict for some of the functions considered here. Consider
max(a) where a includes only positive, fully
specified, elements, and elements with known negative sign and
exponents that include NA values. Here, max(a)
is unambiguously determined.
Similar logic applies to min() and, by extension,
range().