add_triangle: Determines whether or not a value is in the upper or lower...

View source: R/correlation_matrix.R

add_triangleR Documentation

Determines whether or not a value is in the upper or lower triangle of a correlation matrix.

Description

This is a helper function for long_cors

Usage

add_triangle(df)

Arguments

df

a data frame or tibble.

Value

a data frame with labeled upper and lower triangles


michaelasher/asherR documentation built on July 5, 2023, 8:55 p.m.