Learn R Programming

equivalenceTest (version 0.0.1.1)

equivTestFixedMarginCombPlot: Provide a combined plot for equivvalence test

Description

Provide a combined plot for equivalence test, including both scatter plot of the sample data and a bar plot indicating the test result, where the null hypothesis is rejected if the red line representing the mean value of the test product lies within a grey rectangle centered at a blue line representing the mean value of the reference product.

Usage

equivTestFixedMarginCombPlot(et)

Arguments

et

the list returned by equivTestFixedMargin

Examples

Run this code
# NOT RUN {
vecR = rnorm(20,0,1)
vecT = rnorm(20,-1.5,1)
et = equivTestFixedMargin(vecT,vecR)
equivTestFixedMarginCombPlot(et)
# }

Run the code above in your browser using DataLab