-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add PRISM categorization #31
base: main
Are you sure you want to change the base?
Conversation
…unction and add tests for it
return(purrr::map2(locations, diseases, \(x, y) { | ||
forecasttools::prism_thresholds[x, y, ] | ||
})) | ||
} |
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.
This feels inefficient but equally it's readable and premature optimization is bad
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 can't find any way to avoid it because how R interprets array slicing.
Closes #29