plot.env_dissimilarity function

Plot an object of class env_dissimilarity

Plot an object of class env_dissimilarity

Create dendrograms to show the dissimilarity between environments.

## S3 method for class 'env_dissimilarity' plot(x, var = 1, nclust = NULL, ...)

Arguments

  • x: An object of class env_dissimilarity
  • var: The variable to plot. Defaults to var = 1 the first variable of x.
  • nclust: The number of clusters to show.
  • ...: Other arguments bo be passed to the function stats::hclust().

Examples

library(metan) mod <- env_dissimilarity(data_ge, ENV, GEN, REP, GY) plot(mod)

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com