plot.env_dissimilarity: Plot an object of class env_dissimilarity

Description Usage Arguments Author(s) Examples

View source: R/env_dissimilarity.R

Description

Create dendrograms to show the dissimilarity between environments.

Usage

1
2
## 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().

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples

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

metan documentation built on Nov. 10, 2021, 9:11 a.m.