semi_par: Semi-partial correlation with weights

semi_parR Documentation

Semi-partial correlation with weights

Description

Returns the semi-partial correlation. Weights may be used.

Usage

semi_par(x, y, z, weights = NULL, complete_cases = T)

Arguments

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.


Deleetdk/kirkegaard documentation built on June 7, 2024, 7:49 a.m.