The global variable bin_offset
will be used to rename bin ID by adding an
amount defined in bin_offset
to each bin's original ID in df[[bin_col]]
.
We wish to do this because sometimes water bin and feed bin share the same
ID, and we want to differentiate water bins from feed bins using this bin_offset
.
Examples
# set global variable `bin_offset` as 50
set_bin_offset2(50)
# check if `bin_offset` is set up correctly
bin_offset2()
#> [1] 50