Skip to contents

Mark selected points to be ignored in model fitting. This manual selection occurs externally to the pipeline and is passed to the pipeline in an exclusions file read with read_exclusions(). Mechanically, the exclusions are applied by converting specified points to NAs in the dataset. NAs are skipped in model fitting by EpiNow2, so matched rows are excluded from the model likelihood.

Usage

apply_exclusions(cases, exclusions)

Arguments

cases

A dataframe returned by read_data()

exclusions

A dataframe returned by read_exclusions()

Value

A dataframe with the same rows and schema as cases where the value in the column confirm converted to NA in any rows that match a row in exclusions