Skip to contents

Function to plot a wordcloud

Usage

clara_wordcloud(
  x,
  data,
  variable,
  na.omit = na.omit,
  seed = 42,
  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

na.omit

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

seed

Random number seed. Defaults to 42.

membership_threshold

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

Value

wordcloud plot