pcor {dce}R Documentation

Partial correlation

Description

Robust partial correlation of column variables of a numeric matrix

Usage

pcor(x, g = NULL, adjustment_type = "parents", ...)

Arguments

x

matrix

g

related graph as adjacency matrix (optional)

adjustment_type

character string for the method to define the adjustment set Z for the regression

...

additional arguments for function 'cor'

Value

matrix of partial correlations

Examples

x <- matrix(rnorm(100),10,10)
pcor(x)

[Package dce version 1.1.0 Index]