ez.p.apa: format p value according to apa for report

ez.p.apaR Documentation

format p value according to apa for report

Description

format p value according to apa for report

Usage

ez.p.apa(pvalue, prefix = 0, pe = F, decimals = 3)

Arguments

pvalue

numeric vector

prefix

-1,0,1,2,9

pe

affects only p < .0001 or < .001. if T, would be sth like 3.14e-04; otherwise < .0001 or < .001

decimals

3 or 2 decimal places

Value

character vector prefix -1 (****,***,**,*,ns); 0 (< .0001, < .001, .003, .2); 1 (< .0001, < .001, = .003, = .02); 2 (p < .0001, < .001, p = .003, p = .02); 9 (.2e if <.001, raw value–ignore pe=T/F)


jerryzhujian9/zmisc documentation built on March 9, 2024, 12:49 a.m.