Learn R Programming

Momocs (version 1.4.1)

plot_silhouette: Silhouette plot

Description

Only used, so far, after KMEDOIDS.

Usage

plot_silhouette(x, palette = pal_qual)

Value

a ggplot plot

Arguments

x

object returned by KMEDOIDS

palette

one of palettes

Examples

Run this code

olea %>% opoly(5) %>%
    KMEDOIDS(4) %>%
    plot_silhouette(pal_qual_solarized)

Run the code above in your browser using DataLab