Imposes a floor on the given array a, ensuring that its elements are greater than or equal to amin.
Examples
a <- c(0.25, 0.25, 0.25, 0.25)
imposed_a <- impose_floor(a = a, amin = 0.1)
Imposes a floor on the given array a, ensuring that its elements are greater than or equal to amin.
a <- c(0.25, 0.25, 0.25, 0.25)
imposed_a <- impose_floor(a = a, amin = 0.1)