'R:Warning message:longer object length is not a multiple of shorter object length using circular() & rvonmises()
I’m using library(circular) and library(lubridate) to do linear-circular regression.
When I construct my data, It turn out Warning message:
y <- circular(2*atan(c(x%*%c(0.1,0.2)))) + rvonmises(100,my=circular(0),kappa=100)
# Warning message:In circular(2 * atan(c(x %*% c(0.1, 0.2)))) + rvonmises(100, mu = circular(0), :longer object length is not a multiple of shorter object length
Is there any suggestion? Many thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
