R/helpers.R
odd_floor.Rd
To ease the use in window size in MHM/CMP
window
odd_floor(x)
numeric
an odd integer, the closest from the numeric passed
odd_floor(4) #> [1] 3 odd_floor(99) #> [1] 99 odd_floor(c(54, 53.99, 54.01)) #> [1] 53 53 53