fmt_cor: Format number as correlation coefficient

View source: R/formatters.R

fmt_corR Documentation

Format number as correlation coefficient

Description

Format numbers as correlation coefficients, by rounding them and removing the leading 0

Usage

fmt_cor(cor_value, digits = 2)

Arguments

cor_value

Numeric, or a vector of numbers

digits

Number of significant digits, defaults to 2


LukasWallrich/timesaveR documentation built on Nov. 29, 2024, 4:47 a.m.