
Set the vector of all water bins included in your study as global variable
Source:R/global_var.R
set_bins_wat2.Rd
Which water bins are included in your study for analysis? This should be
a numeric vector of bin IDs to keep. You can supply individual
values (e.g. c(1, 3, 5)
) or a sequence (e.g. 2:4
).
Examples
# set global variable `bins_wat` as 1:3
set_bins_wat2(1:3)
# check if `bins_wat` is set up correctly
bins_wat2()
#> [1] 1 2 3