myformat_pvalue: myformat_pvalue

Description Usage Arguments Value

View source: R/myformat_pvalue.R

Description

This function ensures that all the p-values are formatted with the right number of characters. Below the 'digits' threshold, they are presented in scientific notation, otherwise they are rounded to 'digits'

Usage

1
myformat_pvalue(x, digits = 3)

Arguments

x

A vector of p-values

digits

Number of digits to present in the output

Value

A character vector of formatted p-values


webbedfeet/ProjTemplate documentation built on May 29, 2019, 10:50 a.m.