Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chrissyhroberts/2e180e19325f6d53ae3a759d9de9ad2f to your computer and use it in GitHub Desktop.
Save chrissyhroberts/2e180e19325f6d53ae3a759d9de9ad2f to your computer and use it in GitHub Desktop.
require(season)
# use glm model in the first part, date can be full date or month (1-12),
res = cosinor(response~exposures+exposures2+exposures3, date=month, data=df,family=binomial(link='cloglog'),type = "monthly",cycles = 1)
summary(res)
plot(res)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment