pv {CUFF}R Documentation

Format p-values

Description

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

Usage

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

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

[Package CUFF version 1.9 Index]