Plot residual correlation estimates from Joint Species Distribution
(jsdgam) or dynamic factor (mvgam) models
# S3 method for mvgam_residcor
plot(x, cluster = FALSE, ...)A ggplot object
list object of class mvgam_residcor resulting from a
call to residual_cor(..., summary = TRUE)
Logical. Should the variables be re-arranged within the plot
to group the correlation matrix into clusters of positive and negative correlations?
Defaults to FALSE
ignored
Nicholas J Clark
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
jsdgam(), lv_correlations(), residual_cor()