computeAssociations: computeAssociations

View source: R/computeAssociations.R

computeAssociationsR Documentation

computeAssociations

Description

Computes the species association matrices associated with each random level

Usage

computeAssociations(hM, start = 1, thin = 1)

Arguments

hM

a fitted Hmsc model object

start

index of first MCMC sample included

thin

thinning interval of posterior distribution

Value

list of association matrices (ω) corresponding to each random level in the model

Examples

# Compute the associations (residual correlations) between species from a HMSC model
assoc = computeAssociations(TD$m)


Hmsc documentation built on Aug. 11, 2022, 5:11 p.m.