sum,memuse-method | R Documentation |
Binary arithmetic operations for memuse
objects.
## S4 method for signature 'memuse' sum(x, ..., na.rm = FALSE)
x |
A |
... |
Additional arguments |
na.rm |
Whether |
Simple arithmetic reductions.
Returns a memuse
class object.
Constructor memuse-class
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.