Description Usage Arguments Details Value
Bespoke function for Quan Seminar talk.
1 2 3 4 5 6 7 8 9 10 11 12 13  | 
n_K | 
 Number of K cluster to use  | 
X_norm | 
 The normed centers as a matrix, each row is a centroid image  | 
datalist | 
 The list with dat, dat.clean and pos.loc.  | 
main.n | 
 The number of main clusters. These will have different colors.  | 
sub.n | 
 The number of sub levels. This will have different shades.  | 
iter.max | 
 Passed to the kmeans function.  | 
nstart | 
 Passed to the kmeans function.  | 
plotit | 
 If TRUE, plot the heat map.  | 
ramp | 
 Type of smoothing to do on shading within a group. Passed to   | 
ramp.type | 
 Type of shading to do. Passed to   | 
dend.type | 
 Typ of dendrogram passed to   | 
Notes: Probably too customized and prelimanary to keep.
A list with two types of objects: a heatmap and a dendogram.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.