Last chance! 50% off unlimited learning
Sale ends in
Various summary statistics for onions
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)
Return an onion
Objects of class onion
number of elements to display
Robin K. S. Hankin
For a onion
object, return the sum or product accordingly