Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

IncrementsRelative-class

Increments control based on relative differences in intervals


Description

Note that intervals is to be read as follows. If for example, we want to specify three intervals: First 0 to less than 50, second at least 50 up to less than 100 mg, and third at least 100 mg, then we specify intervals to be c(0, 50, 100). That means, the right bound of the intervals are exclusive to the interval, and the last interval goes from the last value until infinity.

Slots

intervals

a vector with the left bounds of the relevant intervals

increments

a vector of the same length with the maximum allowable relative increments in the intervals

Examples

# As example, here is the rule for: 
#   maximum doubling the dose if the current dose is <20
#   OR only maximum increasing the dose by 1.33 if the current dose is >=20

myIncrements <- IncrementsRelative(intervals=c(0, 20),
                                   increments=c(1, 0.33))

crmPack

Object-Oriented Implementation of CRM Designs

v1.0.0
GPL (>= 2)
Authors
Daniel Sabanes Bove [aut], Wai Yin Yeung [aut], Giuseppe Palermo [aut, cre], Thomas Jaki [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.