View source: R/library--analysis_tools--DHS_methods--create_flag_count.R
countFlags | R Documentation |
Takes a data frame with grouping columns and numeric flag DF where 1 means a flag
countFlags(DF, group = c("Site", "window", "quant"))
DF |
data frame with grouping columns and numeric flag columns |
group |
vector specifying what columns should be used for grouping |
DF with the number of flags of each type with in groups
data(Example_data, package = "Covid19Wastewater")
countFlags(Example_data, group = c("site"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.