Last chance! 50% off unlimited learning
Sale ends in
Make sure data is in the right format. Datasets are coerced into class 'circular' of type = angles, units = radians, and modulo = 2pi. It is recommended to set these atributes ahead of time.
check_data(data)
A vector, class 'circular' is recommended but not required
# NOT RUN {
testdata = circular::rvonmises(100, mu = circular::circular(pi), kappa = 3,
control.circular = list(units = "degrees"))
check_data(testdata)
# }
Run the code above in your browser using DataLab