[.circular {circular}R Documentation

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 class 'circular'
x[i, ...]

Arguments

x

object from which to extract elements.

i, ...

elements to extract or replace.

Author(s)

Claudio Agostinelli

Examples

x <- circular(matrix(rwrappednormal(n=100, mu=circular(0)), nrow=5))
dim(x)
x[1,]
x[,1]
x[,1, drop=FALSE]

[Package circular version 0.5-0 Index]