pval_fmt: Helper function to format p-value

View source: R/format_strings.R

pval_fmtR Documentation

Helper function to format p-value

Description

This is the base function that format_pval_apa calls.

Usage

pval_fmt(p_val, markdown = T)

Arguments

p_val

P-value to be formatted

as.markdown

optional, indicates whether the resulting string should be formatted for markdown. Default is TRUE

Value

A formatted p-value string


silverer/statstring documentation built on Aug. 6, 2023, 11:48 a.m.