Learn R Programming

BNSP (version 2.1.0)

plotCorr: Creates plots of the correlation matrices

Description

This function plots the posterior mean and credible intervals of the elements of correlation matrices.

Usage

plotCorr(x, term="R",centre = mean, quantiles = c(0.1, 0.9), ...)

Arguments

x

an object of class `mmvrm' as generated by function mmvrm.

term

R or muR,

centre

a description of how the centre of the posterior should be measured. Usually mean or median.

quantiles

the quantiles to be used when plotting credible regions. Plots without credible intervals may be obtained by setting this argument to NULL.

...

other arguments.

Value

Posterior means and credible intervals of elements of correlation matrices.

Details

Use this function to visualize the elements of a correlation matrix.

See Also

mvrm

Examples

Run this code
# NOT RUN {
#see \code{mvrm} example
# }

Run the code above in your browser using DataLab