DataMixture-class | R Documentation |
DataMixture
DataMixture
is a class for the data with mixture sharing.
It inherits from Data
and it contains additional information
on the mixture sharing.
DataMixture(xshare = numeric(), yshare = integer(), ...)
.DefaultDataMixture()
xshare |
( |
yshare |
( |
... |
parameters passed to |
xshare
(numeric
)
the doses for the share patients.
yshare
(integer
)
the vector of toxicity events (0 or 1)
for the share patients.
nObsshare
(count
)
number of share patients.
Typically, end users will not use the .DefaultDataMixture()
function.
my_data <- DataMixture(
xshare = c(12, 14, 16, 18.0),
yshare = c(0L, 1L, 1L, 1L),
nObsshare = 4L,
x = c(0.1, 0.5, 1.5),
y = c(0, 0, 0),
ID = 1:3,
cohort = 1:3,
doseGrid = c(0.1, 0.5, 1.5, 3, 6, seq(from = 10, to = 80, by = 2))
)
my_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.