Package: riskscores 1.1.1
riskscores: Optimized Integer Risk Score Models
Implements an optimized approach to learning risk score models, where sparsity and integer constraints are integrated into the model-fitting process.
Authors:
riskscores_1.1.1.tar.gz
riskscores_1.1.1.zip(r-4.5)riskscores_1.1.1.zip(r-4.4)riskscores_1.1.1.zip(r-4.3)
riskscores_1.1.1.tgz(r-4.4-any)riskscores_1.1.1.tgz(r-4.3-any)
riskscores_1.1.1.tar.gz(r-4.5-noble)riskscores_1.1.1.tar.gz(r-4.4-noble)
riskscores_1.1.1.tgz(r-4.4-emscripten)riskscores_1.1.1.tgz(r-4.3-emscripten)
riskscores.pdf |riskscores.html✨
riskscores/json (API)
# Install 'riskscores' in R: |
install.packages('riskscores', repos = c('https://hjeglinton.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/hjeglinton/riskscores/issues
- breastcancer - Breast tissue biopsy data
Last updated 26 days agofrom:59d1a893db. Checks:OK: 1 WARNING: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 28 2024 |
R-4.5-win | WARNING | Oct 28 2024 |
R-4.5-linux | WARNING | Oct 28 2024 |
R-4.4-win | WARNING | Oct 28 2024 |
R-4.4-mac | WARNING | Oct 28 2024 |
R-4.3-win | WARNING | Oct 28 2024 |
R-4.3-mac | WARNING | Oct 28 2024 |
Exports:%>%clip_exp_valscv_risk_modcv_risk_mod_random_startget_metricsget_riskget_scorerisk_modrisk_mod_random_startstratify_folds
Dependencies:clicodetoolscolorspacedplyrfansifarverforeachgenericsggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbletidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Breast tissue biopsy data | breastcancer |
Clip Values | clip_exp_vals |
Extract Model Coefficients | coef.risk_mod |
Run Cross-Validation to Tune Lambda0 | cv_risk_mod |
Run Cross-Validation to Tune Lambda0 with Random Start | cv_risk_mod_random_start |
Get Model Metrics | get_metrics |
Get Model Metrics for a Single Threshold | get_metrics_internal |
Calculate Risk Probability from Score | get_risk |
Calculate Score from Risk Probability | get_score |
Plot Risk Score Cross-Validation Results | plot.cv_risk_mod |
Plot Risk Score Model Curve | plot.risk_mod |
Predict Method for Risk Model Fits | predict.risk_mod |
Fit an Integer Risk Score Model | risk_mod |
Run risk model with random start | risk_mod_random_start |
Generate Stratified Fold IDs | stratify_folds |
Summarize Risk Model Fit | summary.risk_mod |