Skip to contents

Bar plot separating a feature by cluster

Usage

bar_plot(df, feature)

Arguments

df

A data.frame containing cluster column and the feature to plot.

feature

The feature to plot.

Value

A bar plot (class "gg", "ggplot") showing the distribution of a feature across clusters.