report_p: Automate the reporting of p-values

Description Usage Arguments Value Examples

Description

Automate the reporting of p-values

Usage

1
report_p(pvalue = NULL, format = "rmarkdown", inline = T)

Arguments

pvalue

object containing pvalue to report

format

How should the output be formatted? Available options are: "plain", "latex", "rmarkdown"

inline

Should non-plain results be formatted for inline (TRUE) or for copy-pasting (FALSE)? (default is TRUE)

Value

p-value rounded to three decimal places if greater than .001. If less than, .001 defaults to p < .001.

Examples

1
report_p(0.001567)

durkeepk/report documentation built on May 8, 2019, 11:55 a.m.