Movatterモバイル変換


[0]ホーム

URL:


prmisc: Miscellaneous Printing of Numeric and Statistical Output in RMarkdown and Quarto Documents

Miscellaneous printing of numeric or statistical results in R Markdown or Quarto documents according to guidelines of the "Publication Manual" of the American Psychological Association (2020, ISBN: 978-1-4338-3215-4). These guidelines are usually referred to as APA style (<https://apastyle.apa.org/>) and include specific rules on the formatting of numbers and statistical test results. APA style has to be implemented when submitting scientific reports in a wide range of research fields, especially in the social sciences. The default output of numbers in the R console or R Markdown and Quarto documents does not meet the APA style requirements, and reformatting results manually can be cumbersome and error-prone. This package covers the automatic conversion of R objects to textual representations that meet the APA style requirements, which can be included in R Markdown or Quarto documents. It covers some basic statistical tests (t-test, ANOVA, correlation, chi-squared test, Wilcoxon test) as well as some basic number printing manipulations (formatting p-values, removing leading zeros for numbers that cannot be greater than one, and others). Other packages exist for formatting numbers and tests according to the APA style guidelines, such as 'papaja' (<https://cran.r-project.org/package=papaja>) and 'apa' (<https://cran.r-project.org/package=apa>), but they do not offer all convenience functionality included in 'prmisc'. The vignette has an overview of most of the functions included in the package.

Version:0.0.3
Depends:R (≥ 3.0.0)
Suggests:afex,effectsize,knitr,rmarkdown,spgs
Published:2025-03-07
DOI:10.32614/CRAN.package.prmisc
Author:Martin PapenbergORCID iD [aut, cre], Juliane V. NagelORCID iD [aut]
Maintainer:Martin Papenberg <martin.papenberg at hhu.de>
BugReports:https://github.com/m-Py/prmisc/issues
License:MIT + fileLICENSE
URL:https://github.com/m-Py/prmisc
NeedsCompilation:no
Materials:README
CRAN checks:prmisc results

Documentation:

Reference manual:prmisc.html ,prmisc.pdf
Vignettes:Overview of prmisc (source,R code)

Downloads:

Package source: prmisc_0.0.3.tar.gz
Windows binaries: r-devel:prmisc_0.0.3.zip, r-release:prmisc_0.0.3.zip, r-oldrel:prmisc_0.0.3.zip
macOS binaries: r-release (arm64):prmisc_0.0.3.tgz, r-oldrel (arm64):prmisc_0.0.3.tgz, r-release (x86_64):prmisc_0.0.3.tgz, r-oldrel (x86_64):prmisc_0.0.3.tgz

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=prmiscto link to this page.


[8]ページ先頭

©2009-2025 Movatter.jp