formula or vector of character strings containing variables to exclude from analysis
corrmatrix
set to TRUE to use Hmisc::plotCorrM() to depict a Spearman rank correlation matrix.
fracmiss
if the fraction of NAs for a variable exceeds this the variable will not be included
maxlevels
if the maximum number of distinct values for a categorical variable exceeds this, the variable will be dropped
minprev
the minimum proportion of non-missing observations in a category for a binary variable to be retained, and the minimum relative frequency of a category before it will be combined with other small categories
horiz
set to TRUE to draw the dendrogram horizontally
label
figure label for Quarto
print
set to FALSE to not let dataframeReduce report details
Author
Frank Harrell
Details
Draws a variable clustering dendrogram and optionally graphically depicts a correlation matrix. See this for an example. Uses Hmisc::varclus().