to_correlation_matrix: Create correlation matrix

View source: R/correlation.R

to_correlation_matrixR Documentation

Create correlation matrix

Description

Turns the tibble exported from correlate into a correlation matrix.

Usage

to_correlation_matrix(data, verbose = FALSE)

Arguments

data

a tdcmm model returned from correlate

verbose

A logical, defaulted to FALSE. Only applicable when correlating two variables. If set to TRUE, the function outputs information regarding the sample size.

Value

a tdcmm model

Examples

WoJ %>% correlate() %>% to_correlation_matrix()


joon-e/tidycomm documentation built on Feb. 24, 2024, 8:58 a.m.