computeAssociations
Computes the species association matrices associated with each random level
computeAssociations(hM, start = 1, thin = 1)
hM
: a fitted Hmsc
model objectstart
: index of first MCMC sample includedthin
: thinning interval of posterior distributionlist of association matrices () corresponding to each random level in the model
# Compute the associations (residual correlations) between species from a HMSC model assoc = computeAssociations(TD$m)
Useful links