choose_best_method: Choose Best Method

View source: R/choose_best_method.R

choose_best_methodR Documentation

Choose Best Method

Description

Selects the best correlation comparison method based on sample size and average inter-correlation.

Usage

choose_best_method(n, r_matrix)

Arguments

n

Integer, sample size.

r_matrix

Square correlation matrix.

Value

A list with the best method name and details.

Examples

r <- matrix(c(1, 0.40, 0.35,
              0.40, 1, 0.30,
              0.35, 0.30, 1), nrow = 3)
choose_best_method(n = 250, r_matrix = r)

InterconectaR documentation built on Oct. 16, 2026, 1:06 a.m.