posterior_samples {BBcor}R Documentation

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


Y <- mtcars[,1:5]

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

# correlations
posterior_samples(bb_samps)


# partial correlations
posterior_samples(cor_2_pcor(bb_samps))

[Package BBcor version 1.0.3 Index]