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 <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the greenclust package in your browser

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

greenclust documentation built on Jan. 11, 2020, 9:43 a.m.