invcov2parcor_array: Convert inverse covariance to partial correlation for several...

Description Usage Arguments Value Examples

View source: R/auxfunc.R

Description

Convert inverse covariance to partial correlation for several inverse covariance matrices collected in an array.

Usage

1
invcov2parcor_array(invcov.array)

Arguments

invcov.array

Array of inverse covariance matrices, of dimension numNodes by numNodes by numComps.

Value

Array of partial correlation matrices of dimension numNodes by numNodes by numComps

Examples

1
2
invcov.array = sapply(1:5, function(x) generate_inv_cov(p=25), simplify='array')
p.corr = invcov2parcor_array(invcov.array)

nethet documentation built on Nov. 17, 2017, 12:04 p.m.