Learn R Programming

discoveR (version 3.1.2)

gg_dendrograma: Dendrogram plot

Description

Dendrogram plot

Usage

gg_dendrograma(model, k, colors = NULL)

Value

ggplot

Arguments

model

an object of class hclust.

k

a vector specifying the cluster of each individual.

colors

a vector of color for each cluster.

Author

Diego Jimenez <diego.jimenez@promidat.com>