Skip to contents

Function to plot a parallel coordinate plot

Usage

clara_parallel(
  x,
  data,
  membership_threshold = 0,
  seed = 42,
  plot_membership_scores = FALSE,
  sample_percentage = 0.2
)

Arguments

x

An object of class "fuzzyclara"

data

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

membership_threshold

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

seed

random number seed

plot_membership_scores

Boolean value indicating whether the cluster membership scores for the observations should be indicated through line the transparency (TRUE) or not (FALSE)

sample_percentage

Percentage value that indicates which percentage of observations should randomly selected for representation the plot. Must be a number between 0 and 1. Defaults to 0.2.

Value

parallel coordinate plot