Learn R Programming

memuse (version 2.5)

Reductions: memuse Arithmetic

Description

Binary arithmetic operations for memuse objects.

Usage

"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))
# ## End(Not run)

Run the code above in your browser using DataLab