Movatterモバイル変換


[0]ホーム

URL:


visxhclust1.1.0

Plot boxplots with clusters

Source:R/plot.R
cluster_boxplots.Rd

This is a convenience wrapper function forfacet_boxplot().Combined withannotate_clusters(), itdoesn't require specifying axes infacet_boxplot().

cluster_boxplots(annotated_data,...)

Arguments

annotated_data

data frame returned byannotate_clusters()

...

arguments passed tofacet_boxplot()

Value

boxplots faceted by clusters

Examples

dmat<-compute_dmat(iris,"euclidean",TRUE,c("Petal.Length","Sepal.Length"))clusters<-compute_clusters(dmat,"complete")cluster_labels<-cut_clusters(clusters,2)annotated_data<-annotate_clusters(iris[,c("Petal.Length","Sepal.Length")],cluster_labels)cluster_boxplots(annotated_data, boxplot_colors=visxhclust::cluster_colors)

[8]ページ先頭

©2009-2025 Movatter.jp