View source: R/simulate_cosinor.R
simulate_cosinor | R Documentation |
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)
n |
Sample size |
beta.mean |
Effect on the mean (intercept) |
beta.amp |
Effect on the amplitude |
beta.acro |
Effect on the acrophase |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.