Skip to contents

This function generates heatmaps of parameter estimates or posterior support values for species' environmental responses, represented by Beta parameters. It is designed to visualize how species (Y) respond to various covariates (X) using ggplot2 for plotting. The function is an adaptation of Hmsc::plotBeta, focusing on ggplot2-based visualizations.

Usage

PlotBetaGG(
  Path_Model = NULL,
  supportLevel = 0.95,
  PlotWidth = 25,
  PlotHeight = 35
)

Arguments

Path_Model

String. Path to the fitted Hmsc model object.

supportLevel

Numeric. The threshold for posterior support used in plotting. Values above this threshold (and below 1 - threshold) are considered significant and will be plotted. The default value is 0.95, indicating 95% posterior support. For more information, see Hmsc::plotBeta

PlotWidth, PlotHeight

Numeric. The width and height of the plot in centimeters. Default is 25 cm x 35 cm.

Value

The function does not return a value but saves heatmap plots as JPEG files in a directory related to the model's path.