8000 Error when running `plot_kit_use` with one fit object and no data · Issue #21 · sempwn/bennu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Error when running plot_kit_use with one fit object and no data #21

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

Open
sempwn opened this issue Aug 16, 2023 · 0 comments
Open

Error when running plot_kit_use with one fit object and no data #21

sempwn opened this issue Aug 16, 2023 · 0 comments

Comments

@sempwn
Copy link
Owner
sempwn commented Aug 16, 2023
THN_data <- no_site_type %>%
  rename("regions" = "sit_HSDA",
         "times" = "time_point",
         "Orders" = "Num.Ordered",
         "Reported_Distributed" = "Num.Dist",
         "Reported_Used" = "kits.used",
         "region_name" = "region") %>%
  select(-time_stamp_month) %>%
  mutate(regions = as.integer(regions))

fit <- bennu::est_naloxone(THN_data)

bennu::plot_kit_use(fit)
Error in `dplyr::group_by()`:
! Must group by variables found in `.data`.
Column `region_name` is not found.
Column `model` is not found.
Column `times` is not found.
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

1 participant
0