Description Usage Arguments Value
Calculates correlation / covariance between Y and X, holding control constant
1 |
Y |
outcome vector (must be numeric without NA's). |
X |
numeric data frame or matrix of factors to be considered. |
control |
numeric data frame or matrix of factors to control for. these are factors that we can't consider while looking for the optimal intervention (e.g. race). |
wgt |
an optional vector of weights. |
data frame with partial correlations, partial covariance & p-values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.