permChacko is an R package that implements a modified version of the Chacko (1966) algorithm for order restriction.
You can install the most stable version of permChacko from CRAN with:
install.packages("permChacko")
The development version of permChacko is available on GitHub. To install it, please make sure you have the remotes package installed and run:
remotes::install_github("ocbe-uio/permChacko")
This installs the package without vignettes. To install the vignettes, please make sure you have Pandoc installed and run:
remotes::install_github("ocbe-uio/permChacko", build_vignettes = TRUE)
This is a basic example which shows you how to solve a common problem:
library(permChacko)
permChacko(chacko66_sec3) # example 5 from Chacko (1966)
Chacko, V. J. “Testing homogeneity against ordered alternatives.” The Annals of Mathematical Statistics (1963): 945-956. https://www.jstor.org/stable/2238476
Chacko, V. J. (1966). Modified Chi-Square Test for Ordered Alternatives. Sankhyā: The Indian Journal of Statistics, Series B (1960-2002), 28(3/4), 185–190. http://www.jstor.org/stable/25051572