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

[.circularR 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]

circular documentation built on Sept. 11, 2024, 8:21 p.m.