# 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