Learn R Programming

memuse (version 3.0-1)

Reductions: memuse Arithmetic

Description

Binary arithmetic operations for memuse objects.

Usage

# S4 method for memuse
sum(x, ..., na.rm = FALSE)

Arguments

x

A memuse object.

...

Additional arguments

na.rm

Whether NA's should be ignored.

Value

Returns a memuse class object.

Details

Simple arithmetic reductions.

See Also

Constructor memuse-class

Examples

Run this code
# NOT RUN {
### This will work
sum(mu(10), 10)

### This will not
sum(10, mu(10))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab