sum | R Documentation |
Various summary statistics for onions
onion_allsum(x)
## S4 method for signature 'onion'
sum(x)
## S4 method for signature 'quaternion'
prod(x)
## S4 method for signature 'octonion'
sum(x)
## S4 method for signature 'onionmat'
sum(x)
## S4 method for signature 'octonion'
prod(x)
## S4 method for signature 'onion'
str(object, ...)
str_onion(object, vec.len = 4, ...)
onion_allsum(x)
onionmat_allsum(x)
quaternion_allprod(x)
x , object , ... |
Objects of class |
vec.len |
number of elements to display |
For a onion
object, return the sum or product accordingly
Return an onion
Function str()
uses functionality from condense()
.
Robin K. S. Hankin
sum(roct())
str(roct())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.