Package: traumar 1.0.0.9000
traumar: Calculate Metrics for Trauma System Performance
Hospitals, hospital systems, and even trauma systems that provide care to injured patients may not be aware of robust metrics that can help gauge the efficacy of their programs in saving the lives of injured patients. 'traumar' provides robust functions driven by the academic literature to automate the calculation of relevant metrics to individuals desiring to measure the performance of their trauma center or even a trauma system. 'traumar' also provides some helper functions for the data analysis journey. Users can refer to the following publications for descriptions of the methods used in 'traumar'. TRISS methodology, including probability of survival, and the W, M, and Z Scores - Flora (1978) <doi:10.1097/00005373-197810000-00003>, Boyd et al. (1987, PMID:3106646), Llullaku et al. (2009) <doi:10.1186/1749-7922-4-2>, Singh et al. (2011) <doi:10.4103/0974-2700.86626>, Baker et al. (1974, PMID:4814394), and Champion et al. (1989) <doi:10.1097/00005373-198905000-00017>. For the Relative Mortality Metric, see Napoli et al. (2017) <doi:10.1080/24725579.2017.1325948>, Schroeder et al. (2019) <doi:10.1080/10903127.2018.1489021>, and Kassar et al. (2016) <doi:10.1177/00031348221093563>.
Authors:
traumar_1.0.0.9000.tar.gz
traumar_1.0.0.9000.zip(r-4.5)traumar_1.0.0.9000.zip(r-4.4)traumar_1.0.0.9000.zip(r-4.3)
traumar_1.0.0.9000.tgz(r-4.5-any)traumar_1.0.0.9000.tgz(r-4.4-any)traumar_1.0.0.9000.tgz(r-4.3-any)
traumar_1.0.0.9000.tar.gz(r-4.5-noble)traumar_1.0.0.9000.tar.gz(r-4.4-noble)
traumar_1.0.0.9000.tgz(r-4.4-emscripten)traumar_1.0.0.9000.tgz(r-4.3-emscripten)
traumar.pdf |traumar.html✨
traumar/json (API)
NEWS
# Install 'traumar' in R: |
install.packages('traumar', repos = c('https://bemts-hhs.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bemts-hhs/traumar/issues
Pkgdown site:https://bemts-hhs.github.io
emsmortalitypiprobabilityqualitysurvivaltraumatriss
Last updated 11 days agofrom:d42c0afe85. Checks:8 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 28 2025 |
R-4.5-win | OK | Feb 28 2025 |
R-4.5-mac | OK | Feb 28 2025 |
R-4.5-linux | OK | Feb 28 2025 |
R-4.4-win | OK | Feb 28 2025 |
R-4.4-mac | OK | Feb 28 2025 |
R-4.3-win | OK | Feb 28 2025 |
R-4.3-mac | OK | Feb 28 2025 |
Exports:%not_in%imputenonlinear_binsnormalizepretty_numberpretty_percentprobability_of_survivalrm_bin_summaryrmmseasonsmall_count_labelstat_sigtheme_cleanertrauma_case_mixtrauma_performanceweekend
Dependencies:backportsbroomclicolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableinferisobandlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellnlmepatchworkpillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Check if Elements Are Not in a Vector | %not_in% |
Impute Numeric Column Values | impute |
Create Nonlinear Probability of Survival Bins | nonlinear_bins |
Normalize a Numeric Vector | normalize |
Convert Numbers into Readable Abbreviated Formats | pretty_number |
Format Numeric Variables as Percentages | pretty_percent |
Calculate Probability of Survival Using TRISS Method | probability_of_survival |
Bin-Level Summary for Relative Mortality Metric (RMM) | rm_bin_summary |
Relative Mortality Metric (RMM) Calculation | rmm |
Get Season Based on a Date | season |
Label Small Counts Based on a Cutoff | small_count_label |
Assign Significance Codes Based on P-Values | stat_sig |
Customizable Minimalistic ggplot2 Theme | theme_cleaner |
View the Current Patient Population Case Mix Compared to the Major Trauma Study Case Mix | trauma_case_mix |
Calculate Trauma Hospital Performance Based on Robust and Validated Measures | trauma_performance |
Classify Dates as Weekday or Weekend | weekend |