sum: Various summary statistics for onions
Description
Various summary statistics for onions
Usage
onion_allsum(x)
# S4 method for onion
sum(x)
# S4 method for quaternion
prod(x)
# S4 method for octonion
sum(x)
# S4 method for onionmat
sum(x)
# S4 method for octonion
prod(x)
# S4 method for onion
str(object, ...)
str_onion(object, vec.len = 4, ...)
onion_allsum(x)
onionmat_allsum(x)
quaternion_allprod(x)
Arguments
- x,object,...
Objects of class onion
- vec.len
number of elements to display
Details
For a onion
object, return the sum or product accordingly