MCMCglmm (version 2.30)

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

See Also

posterior.evals, posterior.inverse, posterior.ante

Examples

Run this code
# NOT RUN {
v<-rIW(diag(2),3, n=1000)
hist(posterior.cor(mcmc(v))[,2])
# }

Run the code above in your browser using DataCamp Workspace