-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
48 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
* | ||
!setup.R | ||
!script.R | ||
!config.json | ||
!.gitignore | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
library("EpiNow2") | ||
|
||
reported_cases <- example_confirmed[1:60] | ||
|
||
# set up example generation time | ||
generation_time <- generation_time_opts( | ||
disease = "SARS-CoV-2", source = "ganyani", fixed = TRUE | ||
) | ||
|
||
# set delays between infection and case report | ||
incubation_period <- get_incubation_period( | ||
disease = "SARS-CoV-2", source = "lauer" | ||
) | ||
|
||
reporting_delay <- list( | ||
mean = convert_to_logmean(2, 1), mean_sd = 0, | ||
sd = convert_to_logsd(2, 1), sd_sd = 0, max = 10 | ||
) |
0bf9d9c
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.
❤️
0bf9d9c
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.
Yeah but it still doesn't work (though gets a bit further now).
0bf9d9c
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.
progress towards working is still progress!
0bf9d9c
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.
more progress #366 (comment)