Extract | R Documentation |
Methods for "["
and "[<-"
, i.e., extraction or
subsetting of onions.
## S4 method for signature 'onion'
i(z)
## S4 method for signature 'onion'
j(z)
## S4 method for signature 'onion'
k(z)
## S4 method for signature 'octonion'
l(z)
## S4 method for signature 'octonion'
il(z)
## S4 method for signature 'octonion'
jl(z)
## S4 method for signature 'octonion'
kl(z)
## S4 method for signature 'onionmat'
i(z)
## S4 method for signature 'onionmat'
j(z)
## S4 method for signature 'onionmat'
k(z)
## S4 method for signature 'onionmat'
il(z)
## S4 method for signature 'onionmat'
jl(z)
## S4 method for signature 'onionmat'
kl(z)
i(x) <- value
j(x) <- value
k(x) <- value
l(x) <- value
il(x) <- value
jl(x) <- value
kl(x) <- value
x , z |
Object of class onion |
value |
replacement value |
Extraction and methods return an onion or onionmat.
Replacement methods return an object of the same class as x
.
If x
is a numeric vector and y
a onion, one might expect
typing x[1] <- y
to result in x
being a onion. This is
impossible, according to John Chambers.
Robin K. S. Hankin
a <- roct(9)
il(a)
Re(a) <- 1:9
j(a) <- l(a)
a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.