Skip to contents

Generate and save spatial variation in site loadings of HMSC models' latent factors as a JPEG file.

Usage

plot_latent_factor(
  path_model = NULL,
  env_file = ".env",
  plot_width = 20,
  plot_height = 21
)

Arguments

path_model

Path to the model file.

env_file

Character. Path to the environment file containing paths to data sources. Defaults to .env.

plot_width, plot_height

Numeric. The width and height of the output plot in cm. Default is 20×21 cm.

Author

Ahmed El-Gabbas