Create dendrograms to show the dissimilarity between environments.
Usage
# 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 ofx
.- nclust
The number of clusters to show.
- ...
Other arguments bo be passed to the function
stats::hclust()
.
Author
Tiago Olivoto tiagoolivoto@gmail.com
Examples
# \donttest{
library(metan)
mod <- env_dissimilarity(data_ge, ENV, GEN, REP, GY)
#> Evaluating trait Y |=============================================| 100% 00:00:00
plot(mod)
# }