pv: Format p-values

Description Usage Arguments Details Value Author(s) Examples

View source: R/pv.R

Description

This is a function that format p-values for publication.

Usage

1
pv(p, style = 1)

Arguments

p

A vector of p-values

style

By default (1), formatting according to APA style guide version 6

Details

Value

returns a character vector of formatted p-value.

Author(s)

Charles-Édouard Giguère

Examples

1
2
p <- c(0.1563,0.0122,0.00001) 
pv(p)

CUFF documentation built on May 2, 2019, 12:40 p.m.