Learn R Programming

circular (version 0.4-93)

c.circular: A method for circular object, which combines its arguments

Description

A method for circular object, which combines its arguments

Usage

# S3 method for circular
c(..., recursive = FALSE)

Arguments

vectors, the first of which of class circular.

recursive

logical. If 'recursive=TRUE', the function recursively descends through lists combining all their elements into a vector.

See Also

c

Examples

Run this code
# NOT RUN {
x <- rvonmises(10, circular(0), 10)
y <- rvonmises(10, circular(0), 10, control.circular=list(units="degrees"))
z <- runif(10, 0, 20) # here you do not use circular properties, 
#####but you mean it is measured in degrees
c(x, y, z) # While y is converted in radians, z is treated as it was!

# }

Run the code above in your browser using DataLab