length.onion {onion} | R Documentation |
Get or set the length of octonionic vectors.
## S3 method for class 'onion' length(x) ## S3 replacement method for class 'onion' length(x) <- value
x |
An onionic vector |
value |
An integer |
Operates on the columns of the matrix as expected.
In length(x) <- value
, if value>length(x)
, the onion is
padded with NA
s.
Robin K. S. Hankin
a <- roct(5) length(a) length(a) <- 3 a length(a) <- 10 a