R/find_nearest_dose.R
find_nearest_dose.Rd
Generic function to calculate the dose nearest to a specific dose unit increment
find_nearest_dose(dose = NULL, increment = 250, type = "round")
find_nearest_dose(573)
#> [1] 500
find_nearest_dose(573, increment = 50)
#> [1] 550