plotmm - Tidy Tools for Visualizing Mixture Models
The main function, plot_mm(), is used for (gg)plotting output from mixture models, including both densities and overlaying mixture weight component curves from the fit models in line with the tidy principles. The package includes several additional functions for added plot customization. Supported model objects include: 'mixtools', 'EMCluster', and 'flexmix', with more from each in active dev. Supported mixture model specifications include mixtures of univariate Gaussians, multivariate Gaussians, Gammas, logistic regressions, linear regressions, and Poisson regressions.
Last updated 3 months ago
cut-pointmixture-modelstidyversevisualization
5.38 score 24 stars 6 scripts 153 downloadsamerika - American Politics-Inspired Color Palette Generator
A crisp, clean color palette generator inspired by American politics, with colors ranging from blue on the left to gray in the middle and red on the right. A variety of palettes allow for a range of applications from brief discrete scales (e.g., three colors for Democrats, Independents, and Republicans) to continuous interpolated arrays including dozens of shades graded from blue (left) to red (right).
Last updated 3 months ago
colorpalette-generationvisualization
4.60 score 6 stars 2 packages 11 scripts 359 downloadsmlbstats - Major League Baseball Player Statistics Calculator
Computational functions for player metrics in major league baseball including batting, pitching, fielding, base-running, and overall player statistics. This package is actively maintained with new metrics being added as they are developed.
Last updated 2 months ago
mlbplayer-level-metricssabermetricsstatistics
3.36 score 46 scripts 123 downloadshdImpute - A Batch Process for High Dimensional Imputation
A correlation-based batch process for fast, accurate imputation for high dimensional missing data problems via chained random forests. See Waggoner (2023) <doi:10.1007/s00180-023-01325-9> for more on 'hdImpute', Stekhoven and Bühlmann (2012) <doi:10.1093/bioinformatics/btr597> for more on 'missForest', and Mayer (2022) <https://github.com/mayer79/missRanger> for more on 'missRanger'.
Last updated 3 months ago
3.11 score 2 stars 13 scripts 224 downloadspurging - Simple Method for Purging Mediation Effects among Independent Variables
Simple method of purging independent variables of mediating effects. First, regress the direct variable on the indirect variable. Then, used the stored residuals as the new purged (direct) variable in the updated specification. This purging process allows for use of a new direct variable uncorrelated with the indirect variable. Please cite the method and/or package using Waggoner, Philip D. (2018) <doi:10.1177/1532673X18759644>.
Last updated 5 years ago
3.00 score 2 stars 5 scripts 105 downloads