plotMeanDiffCIs: plotMeanDiffCIs function

Description Usage Arguments Value Examples

View source: R/plotGraphphics.R

Description

plotMeanDiffCIs is a support function for plotting difference-mean confidence intervals.

Usage

1
plotMeanDiffCIs(obj, NList, fontSize = 15, rankFlag = TRUE)

Arguments

obj

is an object of EDOIF class that contains the results of ordering inference.

NList

is a list of based categories users want to have in mean-difference CI plot.

fontSize

is a font size of text for all plots.

rankFlag

is an option for including ranks of categories with in the plot: default is TRUE for including ranks.

Value

This function returns a list of an object of ggplot class.

pDiffCI

An object of ggplot class containing the plot of mean-difference confidence intervals

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# Generate simulation data with 100 samples per categories

simData<-SimNonNormalDist(nInv=100)

# Performing ordering infernce from simData

resultObj<-EDOIF(simData$Values,simData$Group)

# Get a list of ggplot object of mean-difference confidence intervals

ggplotList<-plotMeanDiffCIs(obj=resultObj)

# Plot mean-difference confidence intervals

plot(ggplotList$pDiffCI)

EDOIF documentation built on March 28, 2021, 9:11 a.m.