Package: retrodesign Type: Package Title: Tools for Type S (Sign) and Type M (Magnitude) Errors Version: 0.2.2 Authors@R: c( person("Andrew", "Timm", email = "timmandrew1@gmail.com", role = c("cre","aut")), person("Andrew", "Gelman", role = c("ctb", "cph")), person("John", "Carlin", role = c("ctb", "cph")), person("Martijn", "Weterings", role = c("ctb")) ) Description: Provides tools for working with Type S (Sign) and Type M (Magnitude) errors, as proposed in Gelman and Tuerlinckx (2000) and Gelman & Carlin (2014) . In addition to simply calculating the probability of Type S/M error, the package includes functions for calculating these errors across a variety of effect sizes for comparison, and recommended sample size given "tolerances" for Type S/M errors. To improve the speed of these calculations, closed forms solutions for the probability of a Type S/M error from Lu, Qiu, and Deng (2018) are implemented. As of 1.0.0, this includes support only for simple research designs. See the package vignette for a fuller exposition on how Type S/M errors arise in research, and how to analyze them using the type of design analysis proposed in the above papers. Depends: R (>= 3.1.0) License: MIT + file LICENSE URL: https://github.com/andytimm/retrodesign BugReports: https://github.com/andytimm/retrodesign/issues Encoding: UTF-8 RoxygenNote: 7.1.2 Imports: graphics Suggests: ggplot2, knitr, rmarkdown, gridExtra, testthat VignetteBuilder: knitr Repository: https://andytimm.r-universe.dev Date/Publication: 2024-03-28 01:06:05 UTC RemoteUrl: https://github.com/andytimm/retrodesign RemoteRef: HEAD RemoteSha: ad3ea5592fa796359675a7248e7273b93f4571e0 NeedsCompilation: no Packaged: 2026-10-05 08:50:40 UTC; root Author: Andrew Timm [cre, aut], Andrew Gelman [ctb, cph], John Carlin [ctb, cph], Martijn Weterings [ctb] Maintainer: Andrew Timm