plot.env_stratification: Plot the env_stratification model

View source: R/env_stratification.R

plot.env_stratificationR Documentation

Plot the env_stratification model

Description

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

Usage

## 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


library(metan)
model <-
env_stratification(data_ge,
                   env = ENV,
                   gen = GEN,
                   resp = GY)
plot(model)


metan documentation built on March 7, 2023, 5:34 p.m.