Package: posc 0.2.0


Matthew B. Jané
posc: Probability of Outcome Superiority Curves
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.
Authors:
posc_0.2.0.tar.gz
posc_0.2.0.zip(r-4.7-any)posc_0.2.0.zip(r-4.6-any)
posc_0.2.0.tar.gz(r-4.7-any)posc_0.2.0.tar.gz(r-4.6-any)
posc_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
posc/json (API)
| # Install 'posc' in R: |
| install.packages('posc', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/matthewbjane/posc/issues
Pkgdown/docs site:https://matthewbjane.com
Last updated from:d47618005f. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 125 | ||
| source / vignettes | OK | 165 | ||
| linux-release | OK | 129 | ||
| windows-devel | OK | 93 | ||
| windows-release | OK | 98 | ||
| wasm-release | OK | 92 |
Exports:autoplotposc_binsposc_compposc_empposc_lmposc_multiposc_uni
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Coerce a POSC to a data frame | as.data.frame.posc |
| Plot a probability of outcome superiority curve | autoplot.posc plot.posc |
| Plot a comparison of POSCs | autoplot.posc_comparison plot.posc_comparison |
| Binned observed proportions for an empirical POSC | posc_bins |
| Compare probability of outcome superiority curves | posc_comp |
| Empirical POSC from raw data | posc_emp |
| POSC for the fitted values of a linear model | posc_lm |
| POSC for a composite of several predictors (bivariate normal) | posc_multi |
| POSC from a single correlation (bivariate normal) | posc_uni |
| Predicted probabilities from a POSC | predict.posc |
| Print and summarise a POSC | print.posc summary.posc |
