alignPosterior function

alignPosterior

alignPosterior

Aligns posterior in terms of variables susceptible to label switching

alignPosterior(hM)

Arguments

  • hM: a fitted Hmsc model object

Returns

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)
  • Maintainer: Otso Ovaskainen
  • License: GPL-3 | file LICENSE
  • Last published: 2022-08-11