This function simulates data from a cosinor model with a single covariate, where the time scale is month, and optionally allows for single covariate effects on the mean, amplitude, and acrophase.
simulate_cosinor(n, beta.mean = 2, beta.amp = 0, beta.acro = 0)
Sample size
Effect on the mean (intercept)
Effect on the amplitude
Effect on the acrophase