-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shift incidence section earlier #11
Conversation
time.qmd
Outdated
@@ -112,3 +112,61 @@ plot(t, run(3.8, sys2, t), ylim = 0:1, type = "l", | |||
``` | |||
|
|||
None of these dynamics appeared in the continuous time version! | |||
|
|||
## Incidence calculations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we go with "Variables that reset" or something - of which incidence is a special case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed
time.qmd
Outdated
y <- dust_system_simulate(sys, t) | ||
y <- dust_unpack_state(sys, y) | ||
plot(t, y$incidence, type = "p", xlab = "Time", ylab = "Incidence") | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should at least mention that this works for discrete time models too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioned, and then showed it working in that section
No description provided.