powered by
Get or set the length of octonionic vectors.
# S3 method for onion length(x) # S3 method for onion length(x) <- value
An onionic vector
An integer
Operates on the columns of the matrix as expected.
In length(x) <- value, if value>length(x), the onion is padded with NAs.
length(x) <- value
value>length(x)
NA
# NOT RUN { a <- roct(5) length(a) length(a) <- 3 a length(a) <- 10 a # }
Run the code above in your browser using DataLab