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

Generate plots for predicted/observed site level wastewater concentration #370

Open
sbidari opened this issue Mar 4, 2025 · 1 comment
Assignees

Comments

@sbidari
Copy link
Collaborator

sbidari commented Mar 4, 2025

As per the meeting today, order sites by population and display six most populous sites for each state in the PDF that gets reviewed

@sbidari sbidari self-assigned this Mar 4, 2025
@damonbayer
Copy link
Collaborator

damonbayer commented Mar 4, 2025

@sbidari You will want to start by modifying this section to properly parse the new variables

posterior_predictive_variables <-
pyrenew_posterior_predictive |>
colnames() |>
stringr::str_remove("\\[.+\\]$") |>
unique() |>
purrr::keep(~ stringr::str_starts(., "observed_")) |>
stringr::str_c("[group_time_index]") |>
purrr::map(rlang::parse_expr)

In particular, you may need to identify the multidimensional variables in a different way, since the [group_time_index] will not be valid for identifying [group_time_index, site_index] variables.

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

No branches or pull requests

2 participants