R/ops.R
sum.value.Rd
Sums all elements of value objects, returning a 1x1 value.
# S3 method for class 'value' sum(..., na.rm = FALSE)
value objects and/or numeric values to sum
Logical, whether to remove NA values
A new value object (1x1 matrix) representing the sum