Learn R Programming

volker (version 2.1.0)

.effect_correlations: Test whether correlations are different from zero

Description

Test whether correlations are different from zero

Usage

.effect_correlations(data, cols, cross, method = "pearson", labels = TRUE)

Value

A tibble with correlation results.

Arguments

data

A tibble.

cols

The columns holding metric values.

cross

The columns holding metric values to correlate.

method

The output metrics, pearson = Pearson's R, spearman = Spearman's rho. The reported R square value is just squared Spearman's or Pearson's R.

labels

If TRUE (default) extracts labels from the attributes, see codebook.