clustplot_old: clustplot_old function

View source: R/plots.R

clustplot_oldR Documentation

clustplot_old function

Description

multicluster barplot for summarizing cluster solutions (deprecated I believe)

Usage

clustplot_old(dframe, clusters, varlist)

Arguments

dframe

the data frame you wish to create the plot for. the dataframe must contain 3 elements. 1.) first column must contain the unique identifiers. 2.) there must be one or more of the raw data variables. 3.) there must be at least one cluster variable of the format 'hkclust' followed by a number (e.g. 'hkclust5' would be a 5 cluster solution).

clusters

number of clusters you want to create the plot for. there must be a variable corresponding to this number with the format hkclust (e.g. if you put '5' here there must be a variable named 'hkclust5'- element 3 above)

varlist

the list of variable used for the clustering (this is the raw data-element 2 above)

Examples

clustplot_old_function()

clmacleod/highlandr documentation built on Oct. 11, 2023, 8:04 p.m.