clustplot_old | R Documentation |
multicluster barplot for summarizing cluster solutions (deprecated I believe)
clustplot_old(dframe, clusters, varlist)
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) |
clustplot_old_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.