Learn R Programming

metan (version 1.19.0)

plot.env_stratification: Plot the env_stratification model

Description

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

Usage

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

Value

An object of class gg, ggplot.

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()

Author

Tiago Olivoto tiagoolivoto@gmail.com

See Also

env_dissimilarity()

Examples

Run this code
# \donttest{
library(metan)
model <-
env_stratification(data_ge,
                   env = ENV,
                   gen = GEN,
                   resp = GY)
plot(model)
# }

Run the code above in your browser using DataLab