Skip to contents

Get the integer sizes of the wastewater input data

Usage

get_ww_data_sizes(ww_data, lod_col_name = "below_lod")

Arguments

ww_data

Input wastewater dataframe containing one row per observation, with outliers already removed

lod_col_name

A string representing the name of the column in the input_ww_data that provides a 0 if the data point is not above the LOD and a 1 if the data is below the LOD, default value is below_LOD

Value

A list containing the integer sizes of the follow variables that the stan model requires: owt: number of wastewater observations n_censored: number of censored wastewater observations (below the LOD) n_uncensored: number of uncensored wastewter observations (above the LOD) n_ww_sites: number of wastewater sites n_ww_lab_sites: number of unique wastewater site-lab combinations