Convert correlations into the corresponding partial correlations.
cor_2_pcor(x, ...)
x
An object of class bbcor
bbcor
...
Currently ignored
pcor_mean: A matrix including the posterior mean.
pcor_mean
samps: An array of dimensions p by b by iter that includes the sampled partial correlation matrices.
samps
p
b
iter
Y <- mtcars[,1:3] fit <- bbcor(Y, method = "spearman") cor_2_pcor(fit)