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

vacc_date_col does not accept more than one variable #48

Open
2 tasks
ErikaCantor opened this issue Apr 30, 2024 · 0 comments
Open
2 tasks

vacc_date_col does not accept more than one variable #48

ErikaCantor opened this issue Apr 30, 2024 · 0 comments

Comments

@ErikaCantor
Copy link

Please place an "x" in all the boxes that apply

  • [x ] I have the most recent version of linelist and R
  • [x ] I have found a bug
  • I have a reproducible example
  • I want to request a new feature

vacc_date_col does not accept more than one variable

Error in .subset2(x, i, exact = exact) : subscript out of bounds

start_cohort <- as.Date("2044-01-01")
end_cohort <- as.Date("2044-12-31")
date_interval <- c(start_cohort, end_cohort)
coh_coverage(
  data = cohortdata,
  vacc_date_col = c("vaccine_date_1","vaccine_date_2"),
  unit = "month",
  date_interval = date_interval
)

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