Combines posteriors exported by Hmsc-HPC
into an Hmsc object
Source: R/Mod_GetPosts.R
Mod_GetPosts.Rd
This function converts posterior files exported by Hmsc-HPC
into an Hmsc
object. It can either read the data directly from RDS files or convert it
from JSON format if specified.
Arguments
- Path_Post
Character vector. Path to the RDS files containing the exported posterior files. This argument is mandatory and cannot be empty.
- FromJSON
Logical. Whether the loaded models should be converted from
JSON
format. Defaults toFALSE
, meaning the data will be read directly from RDS files without conversion.