plots a class GGRaSP variable either the full tree, a reduced tree, or the gmm.
# S3 method for ggrasp
plot(x, type, layout = "circular", ...)ggrasp-class object to be plotted
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)
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.