Learn R Programming

BNSP (version 2.1.0)

histCorr: Creates plots of correlation matrices

Description

This function plots the posterior distribution of the elements of correlation matrices.

Usage

histCorr(x, term="R", plotOptions = list(),...)

Arguments

x

an object of class `mvrm', as generated by function mvrm.

term

Admits two possible values: "R" to plot samples from the posterior of the correlation matrix \(R\), and "muR" to plot samples from the posterior of the means \(\mu_R\).

plotOptions

ggplot type options.

...

other arguments.

Value

Posterior distributions 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