Function reference • TidyDensity

Skip to contents

# Function reference

## Continuous Distribution Data Generating Functions

Functions that generate random data from continuous distributions and return tibbles

`tidy_beta()`
  Tidy Randomly Generated Beta Distribution Tibble

`tidy_burr()`
  Tidy Randomly Generated Burr Distribution Tibble

`tidy_cauchy()`
  Tidy Randomly Generated Cauchy Distribution Tibble

`tidy_chisquare()`
  Tidy Randomly Generated Chisquare (Non-Central) Distribution Tibble

`tidy_exponential()`
  Tidy Randomly Generated Exponential Distribution Tibble

`tidy_f()`
  Tidy Randomly Generated F Distribution Tibble

`tidy_gamma()`
  Tidy Randomly Generated Gamma Distribution Tibble

`tidy_generalized_beta()`
  Tidy Randomly Generated Generalized Beta Distribution Tibble

`tidy_generalized_pareto()`
  Tidy Randomly Generated Generalized Pareto Distribution Tibble

`tidy_geometric()`
  Tidy Randomly Generated Geometric Distribution Tibble

`tidy_inverse_burr()`
  Tidy Randomly Generated Inverse Burr Distribution Tibble

`tidy_inverse_exponential()`
  Tidy Randomly Generated Inverse Exponential Distribution Tibble

`tidy_inverse_gamma()`
  Tidy Randomly Generated Inverse Gamma Distribution Tibble

`tidy_inverse_normal()`
  Tidy Randomly Generated Inverse Gaussian Distribution Tibble

`tidy_inverse_pareto()`
  Tidy Randomly Generated Inverse Pareto Distribution Tibble

`tidy_inverse_weibull()`
  Tidy Randomly Generated Inverse Weibull Distribution Tibble

`tidy_logistic()`
  Tidy Randomly Generated Logistic Distribution Tibble

`tidy_lognormal()`
  Tidy Randomly Generated Lognormal Distribution Tibble

`tidy_normal()`
  Tidy Randomly Generated Gaussian Distribution Tibble

`tidy_paralogistic()`
  Tidy Randomly Generated Paralogistic Distribution Tibble

`tidy_pareto()`
  Tidy Randomly Generated Pareto Distribution Tibble

`tidy_pareto1()`
  Tidy Randomly Generated Pareto Single Parameter Distribution Tibble

`tidy_t()`
  Tidy Randomly Generated T Distribution Tibble

`tidy_uniform()`
  Tidy Randomly Generated Uniform Distribution Tibble

`tidy_weibull()`
  Tidy Randomly Generated Weibull Distribution Tibble

`tidy_zero_truncated_geometric()`
  Tidy Randomly Generated Zero Truncated Geometric Distribution Tibble

## Discrete Distribution Data Generating Functions

Functions that generate random data from discrete distributions and return tibbles

`tidy_bernoulli()`
  Tidy Randomly Generated Bernoulli Distribution Tibble

`tidy_binomial()`
  Tidy Randomly Generated Binomial Distribution Tibble

`tidy_hypergeometric()`
  Tidy Randomly Generated Hypergeometric Distribution Tibble

`tidy_negative_binomial()`
  Tidy Randomly Generated Negative Binomial Distribution Tibble

`tidy_poisson()`
  Tidy Randomly Generated Poisson Distribution Tibble

`tidy_zero_truncated_binomial()`
  Tidy Randomly Generated Binomial Distribution Tibble

`tidy_zero_truncated_negative_binomial()`
  Tidy Randomly Generated Binomial Distribution Tibble

`tidy_zero_truncated_poisson()`
  Tidy Randomly Generated Zero Truncated Poisson Distribution Tibble

## Empirical Data Functions

`tidy_empirical()`
  Tidy Empirical

`tidy_distribution_comparison()`
  Compare Empirical Data to Distributions

## Multiple Distribution Tibble

Generate multiple simulations of the same distribution with different parameters

`tidy_combine_distributions()`
  Combine Multiple Tidy Distributions of Different Types

`tidy_multi_single_dist()`
  Generate Multiple Tidy Distributions of a single type

## Mixture Model Data

Function for creating mixture model data

`tidy_mixture_density()`
  Tidy Mixture Data

## Bootstrap

Functions for bootstrapping data

`bootstrap_density_augment()`
  Bootstrap Density Tibble

`bootstrap_p_augment()`
  Augment Bootstrap P

`bootstrap_p_vec()`
  Compute Bootstrap P of a Vector

`bootstrap_q_augment()`
  Augment Bootstrap Q

`bootstrap_q_vec()`
  Compute Bootstrap Q of a Vector

`bootstrap_stat_plot()`
  Bootstrap Stat Plot

`bootstrap_unnest_tbl()`
  Unnest Tidy Bootstrap Tibble

`tidy_bootstrap()`
  Bootstrap Empirical Data

## Parameter Estimation Functions

Functions that help to estimate parameters from raw data.

`util_bernoulli_param_estimate()`
  Estimate Bernoulli Parameters

`util_beta_param_estimate()`
  Estimate Beta Parameters

`util_binomial_param_estimate()`
  Estimate Binomial Parameters

`util_burr_param_estimate()`
  Estimate Burr Parameters

`util_cauchy_param_estimate()`
  Estimate Cauchy Parameters

`util_exponential_param_estimate()`
  Estimate Exponential Parameters

`util_gamma_param_estimate()`
  Estimate Gamma Parameters

`util_geometric_param_estimate()`
  Estimate Geometric Parameters

`util_hypergeometric_param_estimate()`
  Estimate Hypergeometric Parameters

`util_logistic_param_estimate()`
  Estimate Logistic Parameters

`util_lognormal_param_estimate()`
  Estimate Lognormal Parameters

`util_negative_binomial_param_estimate()`
  Estimate Negative Binomial Parameters

`util_normal_param_estimate()`
  Estimate Normal Gaussian Parameters

`util_pareto_param_estimate()`
  Estimate Pareto Parameters

`util_poisson_param_estimate()`
  Estimate Poisson Parameters

`util_uniform_param_estimate()`
  Estimate Uniform Parameters

`util_weibull_param_estimate()`
  Estimate Weibull Parameters

## Distribution Statistics

Functions that generate a tibble of distribution statistics

`util_bernoulli_stats_tbl()`
  Distribution Statistics

`util_beta_stats_tbl()`
  Distribution Statistics

`util_binomial_stats_tbl()`
  Distribution Statistics

`util_burr_stats_tbl()`
  Distribution Statistics

`util_cauchy_stats_tbl()`
  Distribution Statistics

`util_chisquare_stats_tbl()`
  Distribution Statistics

`util_exponential_stats_tbl()`
  Distribution Statistics

`util_f_stats_tbl()`
  Distribution Statistics

`util_gamma_stats_tbl()`
  Distribution Statistics

`util_geometric_stats_tbl()`
  Distribution Statistics

`util_hypergeometric_stats_tbl()`
  Distribution Statistics

`util_logistic_stats_tbl()`
  Distribution Statistics

`util_lognormal_stats_tbl()`
  Distribution Statistics

`util_negative_binomial_stats_tbl()`
  Distribution Statistics

`util_normal_stats_tbl()`
  Distribution Statistics

`util_pareto_stats_tbl()`
  Distribution Statistics

`util_poisson_stats_tbl()`
  Distribution Statistics

`util_t_stats_tbl()`
  Distribution Statistics

`util_uniform_stats_tbl()`
  Distribution Statistics

`util_weibull_stats_tbl()`
  Distribution Statistics

## Random Walk Functions

Functions that generate random walk data and return tibbles

`tidy_random_walk()`
  Tidy Random Walk

## Plotting Functions

Functions that generate plots of the tidy_ distribution functions.

`bootstrap_stat_plot()`
  Bootstrap Stat Plot

`tidy_autoplot()`
  Automatic Plot of Density Data

`tidy_combined_autoplot()`
  Automatic Plot of Combined Multi Dist Data

`tidy_four_autoplot()`
  Automatic Plot of Density Data

`tidy_multi_dist_autoplot()`
  Automatic Plot of Multi Dist Data

`tidy_random_walk_autoplot()`
  Automatic Plot of Random Walk Data

`color_blind()`
  Provide Colorblind Compliant Colors

`td_scale_color_colorblind()`
  Provide Colorblind Compliant Colors

`td_scale_fill_colorblind()`
  Provide Colorblind Compliant Colors

## Statistic Functions

Functions that return a statistic

`ci_hi()`
  Confidence Interval Generic

`ci_lo()`
  Confidence Interval Generic

`tidy_kurtosis_vec()`
  Compute Kurtosis of a Vector

`tidy_range_statistic()`
  Get the range statistic

`tidy_skewness_vec()`
  Compute Skewness of a Vector

`tidy_stat_tbl()`
  Tidy Stats of Tidy Distribution

## Table Functions

Functions that generate tibbles

`tidy_distribution_summary_tbl()`
  Tidy Distribution Summary Statistics Tibble

## Vector Functions

Functions that work on vectors

`tidy_scale_zero_one_vec()`
  Vector Function Scale to Zero and One

`bootstrap_p_vec()`
  Compute Bootstrap P of a Vector

`bootstrap_q_vec()`
  Compute Bootstrap Q of a Vector

`cgmean()`
  Cumulative Geometric Mean

`chmean()`
  Cumulative Harmonic Mean

`ckurtosis()`
  Cumulative Kurtosis

`cmean()`
  Cumulative Mean

`cmedian()`
  Cumulative Median

`csd()`
  Cumulative Standard Deviation

`cskewness()`
  Cumulative Skewness

`cvar()`
  Cumulative Variance

`tidy_kurtosis_vec()`
  Compute Kurtosis of a Vector

`tidy_skewness_vec()`
  Compute Skewness of a Vector

## Helper Functions

Helpers mainly for internal use

`dist_type_extractor()`
  Extract Distribution Type from Tidy Distribution Object

## Utilities

Utility Functions

`convert_to_ts()`
  Convert Data to Time Series Format