Learn R Programming

BSagri (version 0.1-6)

plotCI.Methods: Plot confidence intervals calculated by pairwiseCI

Description

Plot confidence intervals calculated by calling pairwiseCI or UnlogCI.

Usage

## S3 method for class 'pairwiseCI':
plotCI(x, ...)
## S3 method for class 'UnlogCI':
plotCI(x, ...)
## S3 method for class 'simplesimint':
plotCI(x, ...)

Arguments

x
an object of class "pairwiseCI", "UnlogCI" "simplesimint" as can be obtained by calling pairwiseCI in package pairwiseCI, by calling UnlogCI or
...
further arguments to be passed to plotCII, see ?plotCII in package MCPAN for details

Value

  • A plot.

concept

confidence interval

Examples

Run this code
data(Cica1)
boxplot(Au_Bonitur~Treatment, data=Cica1)

ZikaNP<-pairwiseCI(Au_Bonitur~Treatment, data=Cica1,
 method="HL.ratio", control="Iso", alternative="two.sided", conf.level=0.9)

plotCI(ZikaNP, lines=c(0.5,1,2), lineslty=c(3,1,3), lineslwd=c(1,2,1),
 ylim=c(0.5,2.5), main="Auchenorhyncha visual assessment" )

####################

Run the code above in your browser using DataLab