
Last chance! 50% off unlimited learning
Sale ends in
Methods for "["
and "[<-"
, i.e., extraction or
subsetting of onions.
# S4 method for onion
i(z)
# S4 method for onion
j(z)
# S4 method for onion
k(z)
# S4 method for octonion
l(z)
# S4 method for octonion
il(z)
# S4 method for octonion
jl(z)
# S4 method for octonion
kl(z)
# S4 method for onionmat
i(z)
# S4 method for onionmat
j(z)
# S4 method for onionmat
k(z)
# S4 method for onionmat
il(z)
# S4 method for onionmat
jl(z)
# S4 method for onionmat
kl(z)
i(x) <- value
j(x) <- value
k(x) <- value
l(x) <- value
il(x) <- value
jl(x) <- value
kl(x) <- value
Extraction and methods return an onion or onionmat.
Replacement methods return an object of the same class as x
.
Object of class onion
replacement value
Robin K. S. Hankin
a <- roct(9)
il(a)
Re(a) <- 1:9
j(a) <- l(a)
a
Run the code above in your browser using DataLab