Skip to contents

Sums all elements of value objects, returning a 1x1 value.

Usage

# S3 method for class 'value'
sum(..., na.rm = FALSE)

Arguments

...

value objects and/or numeric values to sum

na.rm

Logical, whether to remove NA values

Value

A new value object (1x1 matrix) representing the sum