Skip to contents

Function to plot a boxplot

Usage

clara_boxplot(
  x,
  data,
  variable,
  group_by = NULL,
  na.omit = FALSE,
  membership_threshold = 0
)

Arguments

x

An object of class "fuzzyclara"

data

Prepared data.frame (contains cluster variable, observations are already filtered by threshold (fuzzy))

variable

Name of variable to plot

group_by

Optional grouping variable

na.omit

Should missing values be excluded for plotting? Defaults to FALSE.

membership_threshold

Threshold for fuzzy clustering observations to be plotted. Must be a number between 0 and 1. Defaults to 0.

Value

boxplot