format_p: Format a column of p-values

View source: R/format_p.R

format_pR Documentation

Format a column of p-values

Description

Format a column of p-values

Usage

format_p(pval, na_string = "-", empty_string = "-", sig = NA)

Arguments

pval

A vector of p values

na_string

Value to return if pval is NA

empty_string

Value to return if pval == ""

sig

Level of signficance. If formatted p-value = significance level, an extra digit will be added


overdodactyl/mRclwhip documentation built on June 30, 2023, 6:24 a.m.