predtools
tools for developing and evaluating prediction models.
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
3 of 7 committers (42.9%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.3%) to scientific vocabulary
Keywords
r
r-package
Last synced: 10 months ago
·
JSON representation
Repository
tools for developing and evaluating prediction models.
Statistics
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
- Releases: 1
Topics
r
r-package
Created almost 5 years ago
· Last pushed about 3 years ago
Metadata Files
Readme
Changelog
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
[](https://github.com/resplab/predtools/actions) [](https://cran.r-project.org/package=predtools) [](https://cran.r-project.org/package=predtools) [](https://www.repostatus.org/#active)
# Overview
`predtools` provides miscellaneous tools for developing and evaluating prediction models.
# Table of Contents
- [Installation](#installation)
- [Example](#example)
- [Model-based ROC](https://resplab.github.io/predtools/articles/mROC.html)
- [Intercept Adjustment](https://resplab.github.io/predtools/articles/interceptAdj.html)
- [Calibration Plot](https://resplab.github.io/predtools/articles/calibPlot.html)
- [Unit Normal Loss Integral in Two Dimensions](https://resplab.github.io/predtools/articles/UNLI2D.html)
## Installation {#installation}
You can install the released version of predtools from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("predtools")
```
And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("remotes")
remotes::install_github("resplab/predtools")
```
## Example {#example}
The function `calibration_plot` takes observed and predicted values from a prediction model and uses ggplot2 to produce a calibration plot:
library(predtools)
library(dplyr)
x <- rnorm(100, 10, 2)
y <- x + rnorm(100,0, 1)
data <- tibble(x,y)
calibration_plot(data, obs = "x", pred_1 = "y")
See vignettes for more advanced functionalities, including [model-based ROC](https://resplab.github.io/predtools/articles/mROC.html), [intercept adjustment](https://resplab.github.io/predtools/articles/interceptAdj.html), [calibration plot](https://resplab.github.io/predtools/articles/calibPlot.html), and [unit normal loss integral in two dimensions](https://resplab.github.io/predtools/articles/UNLI2D.html)
You can also access the vignettes from R:
browseVignettes("predtools")
Owner
- Name: RESP
- Login: resplab
- Kind: organization
- Location: Vancouver, Canada
- Website: http://resp.core.ubc.ca/
- Repositories: 7
- Profile: https://github.com/resplab
The Respiratory Evaluation Sciences Program (RESP) at the University of British Columbia
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Amin Adibi | a****i@a****a | 66 |
| Private (for peer-reviewed purposes) | 6****d | 33 |
| Sadatsafavi | m****i@e****a | 27 |
| Sadatsafavi | m****i@u****a | 15 |
| Tae Yoon (Harry) Lee | t****e@g****m | 9 |
| Abdollah | a****2@g****m | 5 |
| Amin Adibi | a****n@A****l | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 3
- Total pull requests: 15
- Average time to close issues: 4 months
- Average time to close pull requests: 3 days
- Total issue authors: 3
- Total pull request authors: 3
- Average comments per issue: 3.0
- Average comments per pull request: 0.07
- Merged pull requests: 14
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- sephhoe (1)
- aminadibi (1)
- zx8754 (1)
Pull Request Authors
- tyhlee (9)
- ab-sa (4)
- msadatsafavi (2)
Top Labels
Issue Labels
bug (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 375 last-month
- Total docker downloads: 55
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: predtools
Prediction Model Tools
- Homepage: https://github.com/resplab/predtools
- Documentation: http://cran.r-project.org/web/packages/predtools/predtools.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL]
-
Latest release: 0.0.3
published about 3 years ago
Rankings
Forks count: 17.1%
Stargazers count: 20.6%
Downloads: 20.8%
Average: 22.2%
Dependent repos count: 23.9%
Dependent packages count: 28.8%
Maintainers (1)
Last synced:
11 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.6 depends
- RConics * imports
- Rcpp * imports
- dplyr * imports
- ggplot2 * imports
- graphics * imports
- magrittr * imports
- mvtnorm * imports
- pROC * imports
- stats * imports
- knitr * suggests
- rmarkdown * suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite
.github/workflows/pkgdown.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite