summarizeTrialMeans: Summarize Trial Mean Data

Description Usage Arguments Details Value Author(s)

Description

Summarize simulated trial mean responses

Usage

1
2
3
4
5
6
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

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% intervals are calculated using either the "Gaussian" or "Quantile" method

Value

A data frame containing the response summaries

Author(s)

Mike K Smith mstoolkit@googlemail.com


MSToolkit documentation built on May 2, 2019, 6:30 p.m.