circular (version 0.4-93)

[.circular: Extract or Replace Parts of a Circular Object

Description

Operators act on vectors and matrices to extract or replace subsets, methods for Circular Data.

Usage

# S3 method for circular
[(x, i, …)

Arguments

x

object from which to extract elements.

i, …

elements to extract or replace.

Examples

Run this code
# NOT RUN {
x <- circular(matrix(rwrappednormal(n=100, mu=circular(0)), nrow=5))
dim(x)
x[1,]
x[,1]
x[,1, drop=FALSE]
# }

Run the code above in your browser using DataLab