Currently, the use of runif() results in numbers with lots of decimal places.
The extra decimals are particularly annoying/irrelevant when input is integer-ish
-> suggest either replacing the sampler with sample(seq(-range, range, max_n_decimals_in_weights_col), length(data[[column]]), replace = TRUE) or adding a rounding function
Currently, the use of runif() results in numbers with lots of decimal places.
The extra decimals are particularly annoying/irrelevant when input is integer-ish
-> suggest either replacing the sampler with
sample(seq(-range, range, max_n_decimals_in_weights_col), length(data[[column]]), replace = TRUE)or adding a rounding function