# Example of usage for `NextBestThreePlusThree` NextBest class.
# Create the data.
my_data <- Data(
x = c(5, 5, 5, 10, 10, 10),
y = c(0, 0, 0, 0, 1, 0),
ID = 1:6,
cohort = c(0, 0, 0, 1, 1, 1),
doseGrid = c(0.1, 0.5, 1.5, 3, 5, seq(from = 10, to = 80, by = 2))
)
# The rule to select the next best dose will be based on the 3+3 method.
my_next_best <- NextBestThreePlusThree()
# Calculate the next best dose.
dose_recommendation <- nextBest(my_next_best, data = my_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.