invcov2parcor: Convert inverse covariance to partial correlation

Description Usage Arguments Value Examples

View source: R/auxfunc.R

Description

Convert inverse covariance to partial correlation

Usage

1
invcov2parcor(invcov)

Arguments

invcov

Inverse covariance matrix

Value

The partial correlation matrix.

Examples

1
2
inv.cov = generate_inv_cov(p=25)
p.corr = invcov2parcor(inv.cov)

Example output

Warning messages:
1: replacing previous importmclust::dmvnormbymvtnorm::dmvnormwhen loadingnethet2: replacing previous importmulttest::updatebystats::updatewhen loadingnethet

nethet documentation built on Nov. 8, 2020, 6:54 p.m.