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

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

See also

Author

Tiago Olivoto tiagoolivoto@gmail.com

Examples

# \donttest{ library(metan) model <- env_stratification(data_ge, env = ENV, gen = GEN, resp = GY) plot(model)
#> Warning: Removed 73 rows containing missing values (geom_text).
# }