check_data {CircMLE} | R Documentation |
Data Checking Function
Description
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.
Usage
check_data(data)
Arguments
data |
A vector, class 'circular' is recommended but not required |
Examples
testdata = circular::rvonmises(100, mu = circular::circular(pi), kappa = 3,
control.circular = list(units = "degrees"))
check_data(testdata)
[Package CircMLE version 0.3.0 Index]