plot.env_stratification: Plot the env_stratification model

Description Usage Arguments Value Author(s) See Also Examples

View source: R/env_stratification.R

Description

This function plots the correlation between environments generated with env_stratification()

Usage

1
2
## S3 method for class 'env_stratification'
plot(x, var = 1, ...)

Arguments

x

An object of class env_stratification

var

The variable to plot. Defaults to var = 1 the first variable of x.

...

Further arguments passed to plot.corr_coef()

Value

An object of class gg, ggplot.

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

See Also

env_dissimilarity()

Examples

1
2
3
4
5
6
7
library(metan)
model <-
env_stratification(data_ge,
                   env = ENV,
                   gen = GEN,
                   resp = GY)
plot(model)

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