Skip to contents

Summarize simulated trial mean responses

Usage

summarizeTrialMeans(
  data,
  respCol = getEctdColName("Response"),
  bVar = getEctdColName("Dose"),
  alpha = 95,
  digits = 3,
  method = "Quantile"
)

Arguments

data

Simulated data to summarize (data frame)

respCol

Response column names (given by getEctdColName by default)

bVar

Variables by which summary should be produced ("Dose" by default)

alpha

Alpha value for calculation of lower and upper intervals (default 95)

digits

Number of digits to round summary data

method

Method to use when calculating lower/upper intervals: Quantile or Gaussian

Value

A data frame containing the response summaries

Details

The input data is checked, and the "alpha" value is parsed using checkSimAlpha Response means, medians, minima, maxima and "number of non-missing values" are calculated by any "by" variables (bVar) Lower and upper alpha\ "Quantile" method

Author

Mike K Smith mstoolkit@googlemail.com