R: Transforms posterior distribution of covariances into...

posterior.cor {MCMCglmm} | R Documentation

## 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

`posterior.evals`, `posterior.inverse`, `posterior.ante`

### Examples

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

[Package MCMCglmm version 2.30 Index]