Learn R Programming

BBcor (version 1.0.3)

posterior_samples: Extract Posterior Samples

Description

Extract Posterior Samples

Usage

posterior_samples(object, ...)

Arguments

object

An object of class bbcor

...

Currently ignored

Value

A data frame including the posterior samples

Examples

Run this code
# NOT RUN {
Y <- mtcars[,1:5]

bb_samps <- bbcor(Y, method = "spearman")

# correlations
posterior_samples(bb_samps)


# partial correlations
posterior_samples(cor_2_pcor(bb_samps))
# }

Run the code above in your browser using DataLab