Description Usage Arguments Value Author(s) See Also Examples
View source: R/firstOrderPartialCorrelation.R
This function computes the first order partial correlation given the
k
'th variable.
1 |
S |
A numeric correlation matrix |
k |
An integer. The index of the variable to condition on. |
A matrix of the same size as X
with NaN
s in the
k
row and column.
Anders Ellern Bilgrau <anders.ellern.bilgrau (at) gmail.com>
1 2 3 | X <- createData(4, 10)
S <- cor(X)
firstOrderPartialCorrelation(S, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.