plot.varCov | R Documentation |
Function for plotting a heatmap of the correlation matrix for objects of class varCov.
## S3 method for class 'varCov'
plot(x, title = paste("Heatmap for model:", x$choice), ..., output = TRUE)
x |
An object of class varCov |
title |
A character string used a title for the plot. |
... |
Not used. |
output |
Should the plot be output to the current device? If
|
Other varCov:
fitted.varCov()
,
gxeVarCov()
,
report.varCov()
,
residuals.varCov()
if (requireNamespace("asreml", quietly = TRUE)) {
## Select the best variance-covariance model using asreml for modeling.
geVarCov <- gxeVarCov(TD = TDMaize, trait = "yld", engine = "asreml")
## Create a heatmap of the correlation matrix for the best model.
plot(geVarCov)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.