semi_par | R Documentation |
Returns the semi-partial correlation. Weights may be used.
semi_par(x, y, z, weights = NULL, complete_cases = T)
x |
A numeric vector to correlate with y. |
y |
A numeric vector to correlate with x after partialing out z. |
z |
A numeric vector to partial out of y. |
weights |
A numeric vector of weights to use. If none given, will return unweighted results. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.