Description Usage Arguments Value Usage notes Examples
Given a tibble equivalent of a mcmc
or mcmc.list
object,
creates a tibble of standard summary statistics by dose.
1 2 3 4 5 6 | createDoseSummary(
data,
group = Dose,
quantiles = c(0.05, 0.1, 0.5, 0.9, 0.95),
widen = TRUE
)
|
data |
the mcmc tibble to be summarised |
group |
the name of the column in |
quantiles |
the quantiles to be produced. |
widen |
Should |
a tibble containing the requested summary statistics. See Usage notes below.
createDoseSummary
is a convenience wrapper around
createCustomDoseSummary
that produces a standard summary tibble
that reports the mean and quantiles (defined by the quantiles
parameter
by group
. The default action is to report the mean, 5th, 10th, 50th,
90th and 95th centiles of Value
grouped by Dose
. See
createCustomDoseSummary
for more details.
1 2 3 | data(oCRMPosteriorShort)
x <- oCRMPosteriorShort %>% tidy() %>% augmentOCRMData()
createDoseSummary(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.