pair_cancor {bullseye}R Documentation

Canonical correlation

Description

Calculates canonical correlation for every variable pair in a dataset.

Usage

pair_cancor(d, handle.na = TRUE, warnings = TRUE, ...)

Arguments

d

A dataframe

handle.na

If TRUE uses pairwise complete observations to calculate correlation coefficient,, otherwise NAs not handled.

warnings

If TRUE, generates a warning for datasets of one row, one column, or with constant variables.

...

other arguments

Value

A tibble of class pairwise with canonical correlation for every numeric or factor or mixed variable pair

Examples

pair_cancor(iris)

[Package bullseye version 1.0.0 Index]