Package: posc
Type: Package
Title: Probability of Outcome Superiority Curves
Version: 0.2.0
Authors@R: 
    person("Matthew B.", "Jané", email = "matthewbjane@gmail.com",
           role = c("aut", "cre"))
Description: Computes, plots and compares probability of outcome superiority
    curves (POSCs). For two people who differ by a given amount on a
    continuous predictor, a POSC gives the probability that the person with
    the higher predictor score also has the higher outcome, a probabilistic
    and decision-oriented alternative to reporting a correlation coefficient.
    Curves can be computed from a correlation under bivariate normality, from
    a correlation matrix for an optimally weighted composite of predictors,
    from a fitted linear model, or estimated directly from raw data with a
    flexible spline model and bootstrap confidence bands.
License: MIT + file LICENSE
URL: https://matthewbjane.com/posc/,
        https://github.com/MatthewBJane/posc
BugReports: https://github.com/MatthewBJane/posc/issues
Depends: R (>= 4.1.0)
Imports: ggplot2 (>= 3.4.0), splines, stats, utils
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
Encoding: UTF-8
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-10-09 16:42:34 UTC; mattjane
Author: Matthew B. Jané [aut, cre]
Maintainer: Matthew B. Jané <matthewbjane@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-21 13:50:02 UTC
Built: R 4.6.1; ; 2026-10-21 14:05:35 UTC; unix
