View source: R/mvgam_residcor-class.R
plot.mvgam_residcor | R Documentation |
Plot residual correlation estimates from Joint Species Distribution
(jsdgam
) or dynamic factor (mvgam
) models
## S3 method for class 'mvgam_residcor'
plot(x, cluster = FALSE, ...)
x |
|
cluster |
Logical. Should the variables be re-arranged within the plot
to group the correlation matrix into clusters of positive and negative correlations?
Defaults to |
... |
ignored |
This function plots the significant residual correlations from a
mvgam_residcor
object, whereby the posterior mean (if robust = FALSE
)
or posterior median (if robust = TRUE
) correlations are shown
only those correlations whose credible interval does not contain zero. All other
correlations are set to zero in the returned plot
A ggplot
object
Nicholas J Clark
jsdgam()
, lv_correlations()
, residual_cor()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.