equivTestPlot {equivalenceTest}R Documentation

Plot the equivalence test result

Description

Plot the equivalence test result including the margin, confidence intervals of the mean difference, and estimated mean difference.

Usage

equivTestPlot(meanDif, ci, alpha, margin, qaNameLong, testDrugName = "",
  refDrugName = "", showDrugName = FALSE, showQA = FALSE,
  showCINumbers = FALSE)

Arguments

meanDif

difference between mean of test and reference product

ci

confidence interval for mean difference, a vector of two values

alpha

nominal level of the hypothesis test

margin

a vector consisting of lower margin and upper margin

qaNameLong

the quality attribute name

testDrugName

test drug name

refDrugName

reference drug name

showDrugName

logic value indicating if the drug names are to be shown.

showQA

logic value indicating if the quality attribute (QA) is to be shown.

showCINumbers

whether CI values are shown in the figure.

Examples

equivTestPlot(0.623,c(-2,2),0.05,c(-9.79,9.79),
  "q a","test","reference")
equivTestPlot(0.623,c(-2,2),0.05,c(-9.79,9.79),
  "Relative Potency","test","reference",showDrugName = TRUE,showQA=TRUE,showCINumbers = TRUE)
equivTestPlot(0.5,c(-1.05,2.05),0.05,c(-9.79,9.79),
  "Relative Potency","test","reference",showQA=TRUE,showCINumbers = TRUE)

[Package equivalenceTest version 0.0.1.1 Index]