Skip to contents

Creating a curve

Each constructor returns a "posc" object.

posc_uni()
POSC from a single correlation (bivariate normal)
posc_multi()
POSC for a composite of several predictors (bivariate normal)
posc_lm()
POSC for the fitted values of a linear model
posc_emp()
Empirical POSC from raw data

Working with a curve

print(<posc>) summary(<posc>)
Print and summarise a POSC
predict(<posc>)
Predicted probabilities from a POSC
as.data.frame(<posc>)
Coerce a POSC to a data frame
autoplot(<posc>) plot(<posc>)
Plot a probability of outcome superiority curve
posc_bins()
Binned observed proportions for an empirical POSC

Comparing curves

posc_comp()
Compare probability of outcome superiority curves
autoplot(<posc_comparison>) plot(<posc_comparison>)
Plot a comparison of POSCs

Package

posc posc-package
posc: Probability of Outcome Superiority Curves
reexports autoplot
Objects exported from other packages