Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

posterior.cor

Transforms posterior distribution of covariances into correlations


Description

Transforms posterior distribution of covariances into correlations

Usage

posterior.cor(x)

Arguments

x

mcmc object of (co)variances stacked column-wise

Value

posterior correlation matrices

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

Examples

v<-rIW(diag(2),3, n=1000)
hist(posterior.cor(mcmc(v))[,2])

MCMCglmm

MCMC Generalised Linear Mixed Models

v2.32
GPL (>= 2)
Authors
Jarrod Hadfield
Initial release
2021-03-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.