greenclust: Combine Categories Using Greenacre's Method

Implements a method of iteratively collapsing the rows of a contingency table, two at a time, by selecting the pair of categories whose combination yields a new table with the smallest loss of chi-squared, as described by Greenacre, M.J. (1988) <doi:10.1007/BF01901670>. The result is compatible with the class of object returned by the 'stats' package's hclust() function and can be used similarly (plotted as a dendrogram, cut, etc.). Additional functions are provided for automatic cutting and diagnostic plotting.

Getting started

Package details

AuthorJeff Jetton [aut, cre]
MaintainerJeff Jetton <jeff.jetton@gmail.com>
LicenseMIT + file LICENSE
Version1.1.1
URL https://github.com/JeffJetton/greenclust
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("greenclust")

Try the greenclust package in your browser

Any scripts or data that you put into this service are public.

greenclust documentation built on Sept. 20, 2023, 1:07 a.m.