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 documentation built on Aug. 11, 2022, 5:11 p.m.