Learn R Programming

circular (version 0.3-1)

circularp: Attributes for a Circular Object

Description

`circularp' returns the `circularp' attribute (or `NULL'). `circularp<-' sets the `circularp' attribute.

Usage

circularp(x)
circularp(x) <- value

Arguments

x
a vector or a matrix of circular data.
value
a vector of length 6.

Details

The circularp attribute is a list of five elements: type, units, template, modulo, zero and rotation; see circular for their meaning.

Assignments are checked for consistency.

Assigning NULL removes the circularp attribute and any "circular" class of x.

See Also

circular