I added a new input argument include_zero allowing users to include/exclude days where census = 0. Default is include_zero = TRUE to replicate the outcome of the previous version of this function where counts of 0 were included. I've added some context/example scenarios to the roxygen and the vignette. I've also added some unit tests and made sure the output of this function (with default inputs) is identical to the previous version.
I also cleaned up some warning messages regarding exclusion of SCU encounters.
Closes issue #36
I added a new input argument
include_zero
allowing users to include/exclude days wherecensus = 0
. Default isinclude_zero = TRUE
to replicate the outcome of the previous version of this function where counts of 0 were included. I've added some context/example scenarios to the roxygen and the vignette. I've also added some unit tests and made sure the output of this function (with default inputs) is identical to the previous version.I also cleaned up some warning messages regarding exclusion of SCU encounters.