powered by
umx_APA_pval formats p-values, rounded correctly. So you get '< .001' instead of .000000002 or 1.00E-09.
You set the precision with digits. Optionally, you can add '=' '<' etc. The default for addComparison (NA) adds these when needed.
umx_APA_pval(p, min = 0.001, digits = 3, addComparison = NA)
The p-value to round
Values below min will be reported as "< min"
Number of decimals to which to round (default = 3)
Whether to add '=' '<' etc. (NA adds when needed)
- p-value formatted in APA style
- umxAPA, round
umxAPA
round
Other Reporting Functions: loadings.MxModel, tmx_is.identified, umxAPA, umxFactorScores, umxGetParameters, umxReduce, umxSummary, umx_aggregate, umx_parameters, umx_print, umx_show, umx_time, umx
loadings.MxModel
tmx_is.identified
umxFactorScores
umxGetParameters
umxReduce
umxSummary
umx_aggregate
umx_parameters
umx_print
umx_show
umx_time
umx
# NOT RUN { umx_APA_pval(.052347) umx_APA_pval(1.23E-3) umx_APA_pval(1.23E-4) umx_APA_pval(c(1.23E-3, .5)) umx_APA_pval(c(1.23E-3, .5), addComparison = TRUE) # }
Run the code above in your browser using DataLab