find_nearest_interval: Generic function to calculate the interval nearest to a...

Description Usage Arguments Examples

Description

Generic function to calculate the interval nearest to a possible dosing interval

Usage

1
2
find_nearest_interval(interval = NULL, possible = c(4, 6, 8, 12, 24, 36,
  48), type = "absolute")

Arguments

interval

dose value

possible

available increments of dose

type

pick either 'nearest' absolute interval, or nearest 'lower', or nearest 'higher' interval.

Examples

1
2

ronkeizer/clinPK documentation built on May 20, 2019, 5:07 p.m.