alignPosterior: alignPosterior

View source: R/alignPosterior.R

alignPosteriorR Documentation

alignPosterior

Description

Aligns posterior in terms of variables susceptible to label switching

Usage

alignPosterior(hM)

Arguments

hM

a fitted Hmsc model object

Value

an Hmsc model object that is identical to the input except the posterior being aligned

Examples

# Align the posterior for a previously fitted HMSC model
m = alignPosterior(TD$m)


hmsc-r/HMSC documentation built on March 5, 2025, 10:52 p.m.