DataGrouped-class | R Documentation |
DataGrouped
DataGrouped
is a class for a two groups dose escalation data set,
comprised of a monotherapy (mono
) and a combination therapy (combo
)
arm. It inherits from Data
and it contains the additional group information.
DataGrouped(group = character(), ...)
.DefaultDataGrouped()
group |
( |
... |
parameters passed to |
group
(factor
)
whether mono
or combo
was used.
Typically, end users will not use the .DefaultDataGrouped()
function.
my_data <- DataGrouped(
x = c(0.1, 0.5, 1.5, 3, 6, 10, 10, 10),
y = c(0, 0, 1, 1, 0, 0, 1, 0),
doseGrid = c(0.1, 0.5, 1.5, 3, 6, seq(from = 10, to = 80, by = 2)),
group = c("mono", "mono", "mono", "mono", "mono", "mono", "combo", "combo")
)
# Set up an empty data set.
empty_data <- DataGrouped(
doseGrid = c(0.1, 0.5, 1, 1.5, 3, 6, seq(from = 10, to = 80, by = 2))
)
empty_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.