sum,memuse-method {memuse} | R Documentation |
memuse Arithmetic
Description
Binary arithmetic operations for memuse
objects.
Usage
## S4 method for signature 'memuse'
sum(x, ..., na.rm = FALSE)
Arguments
x |
A |
... |
Additional arguments |
na.rm |
Whether |
Details
Simple arithmetic reductions.
Value
Returns a memuse
class object.
See Also
Examples
## Not run:
x = mu(2000)
y = mu(5000)
sum(x, y)
### Mixing numeric and memuse objects will work, but the first one must be a
### memuse object.
sum(mu(10), 10) # This will work
sum(10, mu(10)) # This will not
## End(Not run)
[Package memuse version 4.2-3 Index]