Description
Gabriel Multiple Comparison Test and Plot the Confidence Interval on Barplot.
Description
Analyze multi-level one-way experimental designs where there are unequal sample sizes and population variance homogeneity can not be assumed. To conduct the Gabriel test <doi:10.2307/2286265>, create two vectors: one for your observations and one for the factor level of each observation. The function, rgabriel, conduct the test and save the output as a vector to input into the gabriel.plot function, which produces a confidence interval plot for Multiple Comparison.
README.md
rgabriel
The goal of rgabriel is to analyze multi-level one-way experimental designs where there are unequal sample sizes and population variance homogeneity can not be assumed.
Installation
You can install the development version of rgabriel from GitHub with:
# install.packages("remotes")
remotes::install_github("yufree/rgabriel")
Example
This is a basic example which shows you how to solve a common problem:
library(rgabriel)
## basic example code
g <- c(1:40)
f <- c(rep(1,3),rep(2,12),rep(3,15),rep(4,5),rep(5,5))
gabriel.plot(g,f,rgabriel(g,f))