plot a 2D scatter diagram with clusters in various style
1 2 | MPplotScatterWithK(coords, clust, Gnames = TRUE, main = "",
Rcss = "default", Rcssclass = c())
|
coords |
matrix, first two columns will be interpreted as xy coordinates |
clust |
character, mapping between items and cluster numbers |
Gnames |
logical, set TRUE to force cluster group names into G1, G2, etc. Set FALSE to use the existing group names in clust. (This only affects Rcss styling) |
main |
character, displayed as plot title |
Rcss |
Rcss object |
Rcssclass |
Rcss class |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.