ez.p.apa | R Documentation |
format p value according to apa for report
ez.p.apa(pvalue, prefix = 0, pe = F, decimals = 3)
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.