Functions for Tidy Analysis and Generation of Random Data
Overview
To make it easy to generate random numbers based upon the underlying stats distribution functions. All data is returned in a tidy and structured format making working with the data simple and straight forward. Given that the data is returned in a tidy 'tibble' it lends itself to working with the rest of the 'tidyverse'.
Breaking Changes
1. Fix #521 - Fundamentally redesign of quantile_normalize() to use a more efficient
algorithm. This has resulted in a breaking change as the output is now slightly
different. The new algorithm is also faster and more memory efficient.
New Features
1. Fix #510 - Add parameter to tidy_mixture_density() to allow for different
types of combinations, add, subtract, stack, multiply and divide.
Minor Fixes and Improvements
None
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 175 (2 internal)
- Examples that run
- 100%170 run in a plain check
- Exported functions with examples
- 97%
- Documented parameters
- 100%
- Return-value docs
- 98%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 99%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/spsanderson/tidydensity on 2026-10-18.
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2025-08-23Seen in the repository: .github/copilot-instructions.md, .github/instructionsPull request: opened by its own accountCommits: 34 by its own account
- Copilot code reviewCommits: at least 11 accepting its review suggestions
Dependencies
Installing TidyDensity adds 70 packages (39 with compiled code, 70 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.5.2Latest
- 1.5.12025-07-23 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.5.02024-05-28 · diff ↗ ·
added 39 exports
util_f_aic, util_f_param_estimate, util_generalized_beta_aic, util_generalized_beta_param_estimate, util_generalized_beta_stats_tbl, util_generalized_pareto_aic, util_generalized_pareto_param_estimate, util_generalized_pareto_stats_tbl, util_inverse_burr_aic, util_inverse_burr_param_estimate, util_inverse_burr_stats_tbl, util_inverse_pareto_aic, util_inverse_pareto_param_estimate, util_inverse_pareto_stats_tbl, util_inverse_weibull_aic, util_inverse_weibull_param_estimate, util_inverse_weibull_stats_tbl, util_negative_binomial_aic, util_paralogistic_aic, util_paralogistic_param_estimate, util_paralogistic_stats_tbl, util_pareto1_aic, util_pareto1_param_estimate, util_pareto1_stats_tbl, util_t_aic, util_t_param_estimate, util_triangular_aic, util_zero_truncated_binomial_aic, util_zero_truncated_binomial_param_estimate, util_zero_truncated_binomial_stats_tbl and 9 more - 1.4.02024-04-26 · diff ↗ ·
added 19 exports
check_duplicate_rows, quantile_normalize, tidy_mcmc_sampling, util_beta_aic, util_binomial_aic, util_cauchy_aic, util_chisq_aic, util_chisquare_param_estimate, util_exponential_aic, util_gamma_aic, util_geometric_aic, util_hypergeometric_aic, util_logistic_aic, util_lognormal_aic, util_normal_aic, util_pareto_aic, util_poisson_aic, util_uniform_aic, util_weibull_aic - RR 4.4.0 released · 2024-04-24
- 1.3.02024-01-09 · diff ↗ ·
added 4 exports
tidy_triangular, triangle_plot, util_triangular_param_estimate, util_triangular_stats_tbl - 1.2.6
- 1.2.5
- RR 4.3.0 released · 2023-04-21
- 1.2.42022-11-16 · diff ↗ ·
added 4 exports
dist_type_extractor, tidy_bernoulli, util_bernoulli_param_estimate, util_bernoulli_stats_tbl - 1.2.32022-10-04 · diff ↗ ·
added 15 exports
bootstrap_density_augment, bootstrap_p_augment, bootstrap_p_vec, bootstrap_q_augment, bootstrap_q_vec, bootstrap_stat_plot, cgmean, chmean, ckurtosis, cmean, cmedian, csd, cskewness, cvar, tidy_stat_tbl - 1.2.22022-08-10 · diff ↗
- 1.2.12022-07-19 · diff ↗
- 1.2.02022-06-08 · diff ↗ ·
added 8 exports
bootstrap_unnest_tbl, ci_hi, ci_lo, color_blind, td_scale_color_colorblind, td_scale_fill_colorblind, tidy_bootstrap, tidy_distribution_comparison
Show 6 earlier eventsHide 6 earlier events
- 1.1.02022-05-06 · diff ↗ ·
added 24 exports
tidy_four_autoplot, tidy_mixture_density, tidy_t, util_beta_stats_tbl, util_binomial_stats_tbl, util_cauchy_param_estimate, util_cauchy_stats_tbl, util_chisquare_stats_tbl, util_exponential_stats_tbl, util_f_stats_tbl, util_gamma_stats_tbl, util_geometric_stats_tbl, util_hypergeometric_stats_tbl, util_logistic_stats_tbl, util_lognormal_stats_tbl, util_negative_binomial_stats_tbl, util_normal_stats_tbl, util_pareto_stats_tbl, util_poisson_stats_tbl, util_t_stats_tbl, util_uniform_param_estimate, util_uniform_stats_tbl, util_weibull_param_estimate, util_weibull_stats_tbl - RR 4.2.0 released · 2022-04-22
- 1.0.12022-03-27 · diff ↗
- 1.0.02022-03-08 · diff ↗ ·
added 41 exports
tidy_binomial, tidy_burr, tidy_combine_distributions, tidy_combined_autoplot, tidy_generalized_beta, tidy_generalized_pareto, tidy_geometric, tidy_inverse_burr, tidy_inverse_exponential, tidy_inverse_gamma, tidy_inverse_normal, tidy_inverse_pareto, tidy_inverse_weibull, tidy_kurtosis_vec, tidy_multi_dist_autoplot, tidy_multi_single_dist, tidy_negative_binomial, tidy_paralogistic, tidy_pareto, tidy_pareto1, tidy_random_walk, tidy_random_walk_autoplot, tidy_range_statistic, tidy_scale_zero_one_vec, tidy_skewness_vec, tidy_zero_truncated_binomial, tidy_zero_truncated_geometric, tidy_zero_truncated_negative_binomial, tidy_zero_truncated_poisson, util_beta_param_estimate and 11 more - 0.0.12022-01-21
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-01-21
- Total releases
- 16 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 396 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("TidyDensity")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.