Learn R Programming

corrr (version 0.1.0)

fashion: Fashion a correlation data frame for printing.

Description

For the purpose of printing, convert a correlation data frame into a noquote matrix with the correlations cleanly formatted (leading zeros removed; spaced for signs) and the diagonal (or any NA) left blank.

Usage

fashion(x, digits)

Arguments

x

cor_df. See correlate.

digits

Number of decimal places to display.

Value

Formatted noquote matrix.