partial_cor: Compute the Partial Correlation

Description Usage Arguments Value See Also

View source: R/fun_utils.R

Description

Computes the partial correlation of two variables X and Y controlling for a third variable Z.

Usage

1

Arguments

x

A matrix comprising 3 columns containing the variables X, Y, and Z

Value

A single value, i.e., the partial correlation

See Also

Alternatives are, for example, partial.r.


hplieninger/stylesim documentation built on May 17, 2019, 4:54 p.m.