powered by
Generic function to calculate the dose nearest to a specific dose unit increment
find_nearest_dose(dose = NULL, increment = 250, type = "round")
dose value
available increments of dose
how to round, one of `round`, `floor`, or `ceiling`
find_nearest_dose(573) find_nearest_dose(573, increment = 50)
Run the code above in your browser using DataLab