Skip to content
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

Merged
merged 6 commits into from
Nov 13, 2024
Merged

Shift incidence section earlier #11

merged 6 commits into from
Nov 13, 2024

Conversation

edknock
Copy link
Contributor

@edknock edknock commented Nov 13, 2024

No description provided.

@edknock edknock requested a review from richfitz November 13, 2024 13:09
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
Copy link
Member

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?

Copy link
Contributor Author

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")
```
Copy link
Member

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

Copy link
Contributor Author

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

@edknock edknock requested a review from richfitz November 13, 2024 17:23
@richfitz richfitz merged commit 6543dc5 into main Nov 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants