diff --git a/R/preprocessing.R b/R/preprocessing.R index e855352c..68d8284f 100644 --- a/R/preprocessing.R +++ b/R/preprocessing.R @@ -245,7 +245,8 @@ flag_ww_outliers <- function(ww_data, #' data <- tibble::tibble( #' date = c("2023-10-01", "2023-10-02"), #' genome_copies_per_mL = c(300, 3e6), -#' flag_as_ww_outlier = c(0, 1) +#' flag_as_ww_outlier = c(0, 1), +#' exclude = c(0, 0) #' ) #' data_w_exclusions <- indicate_ww_exclusions(data, #' outlier_col_name = "flag_as_ww_outlier", diff --git a/man/indicate_ww_exclusions.Rd b/man/indicate_ww_exclusions.Rd index 5054a7d9..608d8c59 100644 --- a/man/indicate_ww_exclusions.Rd +++ b/man/indicate_ww_exclusions.Rd @@ -33,7 +33,8 @@ column name specified by the \code{outlier_col_name}. data <- tibble::tibble( date = c("2023-10-01", "2023-10-02"), genome_copies_per_mL = c(300, 3e6), - flag_as_ww_outlier = c(0, 1) + flag_as_ww_outlier = c(0, 1), + exclude = c(0,0) ) data_w_exclusions <- indicate_ww_exclusions(data, outlier_col_name = "flag_as_ww_outlier",