metan (version 1.2.1)

plot.env_dissimilarity: Plot an object of class env_dissimilarity

Description

Create dendrograms to show the dissimilarity between environments.

Usage

# S3 method for 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 hclust.

Examples

Run this code
# NOT RUN {
library(metan)
mod <- env_dissimilarity(data_ge, ENV, GEN, REP, GY)
plot(mod)
# }

Run the code above in your browser using DataLab