[.circular {circular} | R Documentation |
Operators act on vectors and matrices to extract or replace subsets, methods for Circular Data.
x[i] x[i, j, ...] x[i, j, ... , drop=TRUE]
x |
object from which to extract elements. |
i, j, ... |
elements to extract or replace. |
drop |
For matrices. If TRUE the
result is coerced to the lowest possible dimension (see examples
below). |
Claudio Agostinelli
x <- circular(matrix(rwrappednormal(n=100, mu=circular(0)), nrow=5)) dim(x) x[1,] x[,1] x[,1, drop=FALSE]