cor_2_pcor: Correlation to Partial Correlation

Description Usage Arguments Examples

View source: R/cor_2_pcor.R

Description

Convert correlations into the corresponding partial correlations.

Usage

1

Arguments

x

An object of class bbcor

...

Currently ignored

  • pcor_mean: A matrix including the posterior mean.

  • samps: An array of dimensions p by b by iter that includes the sampled partial correlation matrices.

Examples

1
2
3
4
5
Y <- mtcars[,1:3]

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

cor_2_pcor(fit)

BBcor documentation built on Oct. 14, 2021, 5:22 p.m.