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

Add PRISM categorization #31

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft

Add PRISM categorization #31

wants to merge 19 commits into from

Conversation

dylanhmorris
Copy link
Collaborator

@dylanhmorris dylanhmorris commented Dec 5, 2024

Closes #29

@dylanhmorris dylanhmorris linked an issue Dec 6, 2024 that may be closed by this pull request
Comment on lines +34 to +37
return(purrr::map2(locations, diseases, \(x, y) {
forecasttools::prism_thresholds[x, y, ]
}))
}
Copy link
Collaborator Author

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

Copy link
Contributor

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.

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.

Add prism categorization functionality
2 participants