Package: pvaluefunctions
Type: Package
Title: Creates and Plots P-Value Functions, S-Value Functions,
        Confidence Distributions and Confidence Densities
Version: 1.7.0
Authors@R: person("Denis", "Infanger", email = "denis.infanger@unibas.ch", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-9028-7110"))
Description: Contains functions to compute and plot confidence distributions, confidence densities, p-value functions and s-value (surprisal) functions for several commonly used estimates. Instead of just calculating one p-value and one confidence interval, p-value functions display p-values and confidence intervals for many levels thereby allowing to gauge the compatibility of several parameter values with the data. These methods are discussed by Infanger D, Schmidt-Trucksäss A. (2019) <doi:10.1002/sim.8293>; Poole C. (1987) <doi:10.2105/AJPH.77.2.195>; Schweder T, Hjort NL. (2002) <doi:10.1111/1467-9469.00285>; Bender R, Berg G, Zeeb H. (2005) <doi:10.1002/bimj.200410104> ; Singh K, Xie M, Strawderman WE. (2007) <doi:10.1214/074921707000000102>; Rothman KJ, Greenland S, Lash TL. (2008, ISBN:9781451190052); Amrhein V, Trafimow D, Greenland S. (2019) <doi:10.1080/00031305.2018.1543137>; Greenland S. (2019) <doi:10.1080/00031305.2018.1529625> and Rafi Z, Greenland S. (2020) <doi:10.1186/s12874-020-01105-9>.
Depends: R (>= 3.5.0)
Imports: cli (>= 3.0.0), ggplot2 (>= 3.5.0), scales (>= 1.3.0), zipfR
        (>= 0.6-70), pracma (>= 2.3.3), gsl (>= 2.1-7.1), rlang (>=
        1.0.0), grDevices, stats, utils
Suggests: knitr, rmarkdown, devtools, testthat (>= 3.0.0)
Config/testthat/edition: 3
License: GPL-3
URL: https://github.com/DInfanger/pvaluefunctions
BugReports: https://github.com/DInfanger/pvaluefunctions/issues
VignetteBuilder: knitr
Encoding: UTF-8
Language: en-US
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-10-02 14:36:30 UTC; denis
Author: Denis Infanger [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-9028-7110>)
Maintainer: Denis Infanger <denis.infanger@unibas.ch>
Repository: CRAN
Date/Publication: 2026-10-02 15:00:02 UTC
