Learn R Programming

circular (version 0.3-1)

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

Usage

c.circular(..., 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
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