createDoseSummary: Create Summary Statistics from a MCMC Samples

Description Usage Arguments Value Usage notes Examples

Description

Given a tibble equivalent of a mcmc or mcmc.list object, creates a tibble of standard summary statistics by dose.

Usage

1
2
3
4
5
6
createDoseSummary(
  data,
  group = Dose,
  quantiles = c(0.05, 0.1, 0.5, 0.9, 0.95),
  widen = TRUE
)

Arguments

data

the mcmc tibble to be summarised

group

the name of the column in data which defines the grouping

quantiles

the quantiles to be produced.

widen

Should df-cols and list columns in the return value be expanded? See Usage notes below.

Value

a tibble containing the requested summary statistics. See Usage notes below.

Usage notes

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.

Examples

1
2
3

PuzzledFace/crmReporter documentation built on June 21, 2020, 12:52 a.m.