plot.ggrasp | R Documentation |
plots a class GGRaSP variable either the full tree, a reduced tree, or the gmm.
## S3 method for class 'ggrasp' plot(x, type, layout = "circular", ...)
x |
ggrasp-class object to be plotted |
type |
Type of plot generated, either "tree" (the full tree with the clusters shown as grouped leaves), "reduced" (tree with only the medoids shown), "hist" (histogram of the distribution of the distances) or "gmm" (histogram of the distances overlayed with the Gaussian distributions) |
layout |
The layout style of the tree, either "circular" (default), "radial", "slanted", "linear" or "rectangular" ("linear" or "rectangular" are the same). |
... |
ignored |
A ggplot object containing the plot. It can be printed to standard output or saved using ggsave.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.