simulate_cosinor: Simulate data from a cosinor model
Description
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.Usage
simulate_cosinor(n, beta.mean = 2, beta.amp = 0, beta.acro = 0)
Arguments
beta.mean
Effect on the mean (intercept)
beta.amp
Effect on the amplitude
beta.acro
Effect on the acrophase