Description Usage Arguments Value Examples
Check if Combination of Events in calendar
1 | event_combo(calendar, event1, n_months, event2)
|
calendar |
string(s) of DHS calendar, months in original order (i.e. recent -> older) |
event1 |
code(s) of the earlier/older event(s) of interest |
n_months |
number of months between events (numerical) |
event2 |
code(s) of the later/recent event(s) of interest |
wheter or not each calendar items contain the combination of events
1 2 3 | dat_calendar <- c("3300000BPP", "5000TPP111", "0123005670")
event_combo(calendar = dat_calendar, event1 = "P", n_months = 6, event2 = c(1:9))
event_combo(calendar = dat_calendar, event1 = "P", n_months = 4, event2 = c(1:9))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.