diff --git a/docs/404.html b/docs/404.html index aba7aada..0d2a2f4f 100644 --- a/docs/404.html +++ b/docs/404.html @@ -31,7 +31,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/CODE_OF_CONDUCT.html b/docs/CODE_OF_CONDUCT.html index f0f4b62d..333c7831 100644 --- a/docs/CODE_OF_CONDUCT.html +++ b/docs/CODE_OF_CONDUCT.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/CONTRIBUTING.html b/docs/CONTRIBUTING.html index af99077e..6911c86e 100644 --- a/docs/CONTRIBUTING.html +++ b/docs/CONTRIBUTING.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 1588b48c..dbb21c58 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/LICENSE.html b/docs/LICENSE.html index 0c4bdcc4..abb9b9ea 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/articles/getting-started.html b/docs/articles/getting-started.html index 2362c9ab..d769ef57 100644 --- a/docs/articles/getting-started.html +++ b/docs/articles/getting-started.html @@ -33,7 +33,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/articles/index.html b/docs/articles/index.html index 913dba41..6e9aa3a1 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/authors.html b/docs/authors.html index 8673172d..77da5785 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -67,13 +67,13 @@ Citation Sanderson S (2024). TidyDensity: Functions for Tidy Analysis and Generation of Random Data. -R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity. +R package version 1.5.0.9000, https://github.com/spsanderson/TidyDensity. @Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, - note = {R package version 1.4.0.9000}, + note = {R package version 1.5.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, } diff --git a/docs/index.html b/docs/index.html index a7396f30..a969a31e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,7 +33,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -112,18 +112,18 @@ Example tidy_normal() #> # A tibble: 50 × 7 -#> sim_number x y dx dy p q -#> <fct> <int> <dbl> <dbl> <dbl> <dbl> <dbl> -#> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 -#> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 -#> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 -#> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 -#> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 -#> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 -#> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 -#> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 -#> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 -#> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 +#> sim_number x y dx dy p q +#> <fct> <int> <dbl> <dbl> <dbl> <dbl> <dbl> +#> 1 1 1 0.991 -3.18 0.000487 0.839 0.991 +#> 2 1 2 -0.163 -3.05 0.00163 0.435 -0.163 +#> 3 1 3 2.19 -2.92 0.00454 0.986 2.19 +#> 4 1 4 -0.226 -2.78 0.0106 0.411 -0.226 +#> 5 1 5 -1.07 -2.65 0.0208 0.141 -1.07 +#> 6 1 6 -0.708 -2.52 0.0345 0.239 -0.708 +#> 7 1 7 0.343 -2.39 0.0488 0.634 0.343 +#> 8 1 8 0.264 -2.26 0.0600 0.604 0.264 +#> 9 1 9 -0.0531 -2.13 0.0667 0.479 -0.0531 +#> 10 1 10 0.444 -2.00 0.0705 0.671 0.444 #> # ℹ 40 more rows An example plot of the tidy_normal data. diff --git a/docs/news/index.html b/docs/news/index.html index 1c3132d7..e763ac70 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -55,12 +55,15 @@ TidyDensity (development version) + + +TidyDensity 1.5.0CRAN release: 2024-05-28 -Breaking Changes +Breaking Changes None -New Features +New Features Fix #468 - Add function util_negative_binomial_aic() to calculate the AIC for the negative binomial distribution. Fix #470 - Add function util_zero_truncated_negative_binomial_param_estimate() to estimate the parameters of the zero-truncated negative binomial distribution. Add function util_zero_truncated_negative_binomial_aic() to calculate the AIC for the zero-truncated negative binomial distribution. Add function util_zero_truncated_negative_binomial_stats_tbl() to create a summary table of the zero-truncated negative binomial distribution. Fix #471 - Add function util_zero_truncated_poisson_param_estimate() to estimate the parameters of the zero-truncated Poisson distribution. Add function util_zero_truncated_poisson_aic() to calculate the AIC for the zero-truncated Poisson distribution. Add function util_zero_truncated_poisson_stats_tbl() to create a summary table of the zero-truncated Poisson distribution. @@ -78,7 +81,7 @@ New FeaturesFix #469 - Add function util_zero_truncated_binomial_stats_tbl() to create a summary table of the Zero Truncated binomial distribution. Add function util_zero_truncated_binomial_param_estimate() to estimate the parameters of the Zero Truncated binomial distribution. Add function util_zero_truncated_binomial_aic() to calculate the AIC for the Zero Truncated binomial distribution. -Minor Improvements and Fixes +Minor Improvements and Fixes Fix #468 - Update util_negative_binomial_param_estimate() to add the use of optim() for parameter estimation. Fix #465 - Add names to columns when .return_tibble = TRUE for quantile_normalize() @@ -130,7 +133,7 @@ New FeaturesMinor Fixes and Improvements Fix #372 and #373 - Update cvar() and csd() to a vectorized approach from @kokbent which speeds these up by over 100x Fix #350 - Update all tidy_ distribution functions to generate data using data.table this in many instances has resulted in a speed up of 30% or more. -Fix #379 - Replace the use of dplyr::cur_data() as it was deprecated in dplyr in favor of using dplyr::pick() +Fix #379 - Replace the use of dplyr::cur_data() as it was deprecated in dplyr in favor of using dplyr::pick() Fix #381 - Add tidy_triangular() to all autoplot functions. Fix #385 - For tidy_multi_dist_autoplot() the .plot_type = "quantile" did not work. diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 842be7c3..f01d3d5a 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 2.0.9 pkgdown_sha: ~ articles: getting-started: getting-started.html -last_built: 2024-05-16T02:14Z +last_built: 2024-05-30T11:42Z urls: reference: https://www.spsanderson.com/TidyDensity/reference article: https://www.spsanderson.com/TidyDensity/articles diff --git a/docs/reference/bootstrap_density_augment.html b/docs/reference/bootstrap_density_augment.html index 4df2b91d..8b8f4eeb 100644 --- a/docs/reference/bootstrap_density_augment.html +++ b/docs/reference/bootstrap_density_augment.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_p_augment.html b/docs/reference/bootstrap_p_augment.html index 78268fc1..de576f95 100644 --- a/docs/reference/bootstrap_p_augment.html +++ b/docs/reference/bootstrap_p_augment.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_p_vec.html b/docs/reference/bootstrap_p_vec.html index bd4e37ee..9a986a4f 100644 --- a/docs/reference/bootstrap_p_vec.html +++ b/docs/reference/bootstrap_p_vec.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_q_augment.html b/docs/reference/bootstrap_q_augment.html index e664ff9c..a4fff6df 100644 --- a/docs/reference/bootstrap_q_augment.html +++ b/docs/reference/bootstrap_q_augment.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_q_vec.html b/docs/reference/bootstrap_q_vec.html index 35afe3fd..d9db78b4 100644 --- a/docs/reference/bootstrap_q_vec.html +++ b/docs/reference/bootstrap_q_vec.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_stat_plot.html b/docs/reference/bootstrap_stat_plot.html index aa16cf52..d6cd8de6 100644 --- a/docs/reference/bootstrap_stat_plot.html +++ b/docs/reference/bootstrap_stat_plot.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_unnest_tbl.html b/docs/reference/bootstrap_unnest_tbl.html index df86a210..0a95254a 100644 --- a/docs/reference/bootstrap_unnest_tbl.html +++ b/docs/reference/bootstrap_unnest_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/cgmean.html b/docs/reference/cgmean.html index 8424b461..f43fc3d3 100644 --- a/docs/reference/cgmean.html +++ b/docs/reference/cgmean.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/check_duplicate_rows.html b/docs/reference/check_duplicate_rows.html index a21d46bb..38f50cb0 100644 --- a/docs/reference/check_duplicate_rows.html +++ b/docs/reference/check_duplicate_rows.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/chmean.html b/docs/reference/chmean.html index a79b0603..dc6f40f2 100644 --- a/docs/reference/chmean.html +++ b/docs/reference/chmean.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/ci_hi.html b/docs/reference/ci_hi.html index 29368d56..f1e55226 100644 --- a/docs/reference/ci_hi.html +++ b/docs/reference/ci_hi.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/ci_lo.html b/docs/reference/ci_lo.html index 37a37dd0..e5d5bd5a 100644 --- a/docs/reference/ci_lo.html +++ b/docs/reference/ci_lo.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/ckurtosis.html b/docs/reference/ckurtosis.html index 8b6e070c..7d44062d 100644 --- a/docs/reference/ckurtosis.html +++ b/docs/reference/ckurtosis.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/cmean.html b/docs/reference/cmean.html index 30a731ae..c1858687 100644 --- a/docs/reference/cmean.html +++ b/docs/reference/cmean.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -77,7 +77,7 @@ Value Details - A function to return the cumulative mean of a vector. It uses dplyr::cummean() + A function to return the cumulative mean of a vector. It uses dplyr::cummean() as the basis of the function. diff --git a/docs/reference/cmedian.html b/docs/reference/cmedian.html index 5aeeff4d..a1da93bc 100644 --- a/docs/reference/cmedian.html +++ b/docs/reference/cmedian.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/color_blind.html b/docs/reference/color_blind.html index 9d007732..c58c050a 100644 --- a/docs/reference/color_blind.html +++ b/docs/reference/color_blind.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/convert_to_ts.html b/docs/reference/convert_to_ts.html index 0fc391b5..ab2e8726 100644 --- a/docs/reference/convert_to_ts.html +++ b/docs/reference/convert_to_ts.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/csd.html b/docs/reference/csd.html index 0ac2df64..3498c0ab 100644 --- a/docs/reference/csd.html +++ b/docs/reference/csd.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/cskewness.html b/docs/reference/cskewness.html index 5208a617..fe66e1af 100644 --- a/docs/reference/cskewness.html +++ b/docs/reference/cskewness.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/cvar.html b/docs/reference/cvar.html index a46400c6..6c4875fc 100644 --- a/docs/reference/cvar.html +++ b/docs/reference/cvar.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/dist_type_extractor.html b/docs/reference/dist_type_extractor.html index 9554d190..f5cb3448 100644 --- a/docs/reference/dist_type_extractor.html +++ b/docs/reference/dist_type_extractor.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/figures/README-more_than_nine_simulations-1.png b/docs/reference/figures/README-more_than_nine_simulations-1.png index b88616e0..238ce5e3 100644 Binary files a/docs/reference/figures/README-more_than_nine_simulations-1.png and b/docs/reference/figures/README-more_than_nine_simulations-1.png differ diff --git a/docs/reference/figures/README-more_than_nine_simulations-2.png b/docs/reference/figures/README-more_than_nine_simulations-2.png index e3fe2633..4418caeb 100644 Binary files a/docs/reference/figures/README-more_than_nine_simulations-2.png and b/docs/reference/figures/README-more_than_nine_simulations-2.png differ diff --git a/docs/reference/figures/README-more_than_nine_simulations-3.png b/docs/reference/figures/README-more_than_nine_simulations-3.png index f95709ab..8a092e1b 100644 Binary files a/docs/reference/figures/README-more_than_nine_simulations-3.png and b/docs/reference/figures/README-more_than_nine_simulations-3.png differ diff --git a/docs/reference/figures/README-more_than_nine_simulations-4.png b/docs/reference/figures/README-more_than_nine_simulations-4.png index 8c880f54..c98e80d2 100644 Binary files a/docs/reference/figures/README-more_than_nine_simulations-4.png and b/docs/reference/figures/README-more_than_nine_simulations-4.png differ diff --git a/docs/reference/figures/README-plot_density-1.png b/docs/reference/figures/README-plot_density-1.png index 9e785fa2..16247316 100644 Binary files a/docs/reference/figures/README-plot_density-1.png and b/docs/reference/figures/README-plot_density-1.png differ diff --git a/docs/reference/figures/README-plot_density-2.png b/docs/reference/figures/README-plot_density-2.png index f11edb5f..ffa769c9 100644 Binary files a/docs/reference/figures/README-plot_density-2.png and b/docs/reference/figures/README-plot_density-2.png differ diff --git a/docs/reference/figures/README-plot_density-3.png b/docs/reference/figures/README-plot_density-3.png index c1bccb0d..b39c8908 100644 Binary files a/docs/reference/figures/README-plot_density-3.png and b/docs/reference/figures/README-plot_density-3.png differ diff --git a/docs/reference/figures/README-plot_density-4.png b/docs/reference/figures/README-plot_density-4.png index 2ca860a2..b1a68a67 100644 Binary files a/docs/reference/figures/README-plot_density-4.png and b/docs/reference/figures/README-plot_density-4.png differ diff --git a/docs/reference/index.html b/docs/reference/index.html index c110f17f..42ebb71b 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/pipe.html b/docs/reference/pipe.html index f342c2b6..915e568e 100644 --- a/docs/reference/pipe.html +++ b/docs/reference/pipe.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/quantile_normalize.html b/docs/reference/quantile_normalize.html index 14839114..8c43a71a 100644 --- a/docs/reference/quantile_normalize.html +++ b/docs/reference/quantile_normalize.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/td_scale_color_colorblind.html b/docs/reference/td_scale_color_colorblind.html index e7eb5ee8..2e403ee9 100644 --- a/docs/reference/td_scale_color_colorblind.html +++ b/docs/reference/td_scale_color_colorblind.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/td_scale_fill_colorblind.html b/docs/reference/td_scale_fill_colorblind.html index 5d848fd3..c44a5a10 100644 --- a/docs/reference/td_scale_fill_colorblind.html +++ b/docs/reference/td_scale_fill_colorblind.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_autoplot.html b/docs/reference/tidy_autoplot.html index f1da3841..6aef3995 100644 --- a/docs/reference/tidy_autoplot.html +++ b/docs/reference/tidy_autoplot.html @@ -32,7 +32,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_bernoulli.html b/docs/reference/tidy_bernoulli.html index d7b8b3a6..5715f1ce 100644 --- a/docs/reference/tidy_bernoulli.html +++ b/docs/reference/tidy_bernoulli.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_beta.html b/docs/reference/tidy_beta.html index eec609a1..a6dfa324 100644 --- a/docs/reference/tidy_beta.html +++ b/docs/reference/tidy_beta.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_binomial.html b/docs/reference/tidy_binomial.html index b96ff95e..5cb1c140 100644 --- a/docs/reference/tidy_binomial.html +++ b/docs/reference/tidy_binomial.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_bootstrap.html b/docs/reference/tidy_bootstrap.html index ef03df69..b5406dc6 100644 --- a/docs/reference/tidy_bootstrap.html +++ b/docs/reference/tidy_bootstrap.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_burr.html b/docs/reference/tidy_burr.html index d47d9bc3..e5fd53a8 100644 --- a/docs/reference/tidy_burr.html +++ b/docs/reference/tidy_burr.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_cauchy.html b/docs/reference/tidy_cauchy.html index 278c77cb..fd4f16e9 100644 --- a/docs/reference/tidy_cauchy.html +++ b/docs/reference/tidy_cauchy.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_chisquare.html b/docs/reference/tidy_chisquare.html index 7a5b4d2d..d2e6ab02 100644 --- a/docs/reference/tidy_chisquare.html +++ b/docs/reference/tidy_chisquare.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_combine_distributions.html b/docs/reference/tidy_combine_distributions.html index 346116a3..d44b931e 100644 --- a/docs/reference/tidy_combine_distributions.html +++ b/docs/reference/tidy_combine_distributions.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_combined_autoplot.html b/docs/reference/tidy_combined_autoplot.html index 96cef430..77f9acb5 100644 --- a/docs/reference/tidy_combined_autoplot.html +++ b/docs/reference/tidy_combined_autoplot.html @@ -32,7 +32,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_distribution_comparison.html b/docs/reference/tidy_distribution_comparison.html index 144fe81c..d021ff08 100644 --- a/docs/reference/tidy_distribution_comparison.html +++ b/docs/reference/tidy_distribution_comparison.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_distribution_summary_tbl.html b/docs/reference/tidy_distribution_summary_tbl.html index b07a144e..f0b0631f 100644 --- a/docs/reference/tidy_distribution_summary_tbl.html +++ b/docs/reference/tidy_distribution_summary_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -74,8 +74,8 @@ Argumentsdplyr::group_by() -and dplyr::select(). +This is the grouping variable that gets passed to dplyr::group_by() +and dplyr::select(). diff --git a/docs/reference/tidy_empirical.html b/docs/reference/tidy_empirical.html index bdb434e3..4023814e 100644 --- a/docs/reference/tidy_empirical.html +++ b/docs/reference/tidy_empirical.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_exponential.html b/docs/reference/tidy_exponential.html index e645a16e..d6bdfe31 100644 --- a/docs/reference/tidy_exponential.html +++ b/docs/reference/tidy_exponential.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_f.html b/docs/reference/tidy_f.html index a97af2f4..b48e94db 100644 --- a/docs/reference/tidy_f.html +++ b/docs/reference/tidy_f.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_four_autoplot.html b/docs/reference/tidy_four_autoplot.html index 4510cd0b..d598c93c 100644 --- a/docs/reference/tidy_four_autoplot.html +++ b/docs/reference/tidy_four_autoplot.html @@ -32,7 +32,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_gamma.html b/docs/reference/tidy_gamma.html index f52e50e1..66b7d5f2 100644 --- a/docs/reference/tidy_gamma.html +++ b/docs/reference/tidy_gamma.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_generalized_beta.html b/docs/reference/tidy_generalized_beta.html index e42cc312..ba92f1ee 100644 --- a/docs/reference/tidy_generalized_beta.html +++ b/docs/reference/tidy_generalized_beta.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_generalized_pareto.html b/docs/reference/tidy_generalized_pareto.html index 2cb25b79..2940fb28 100644 --- a/docs/reference/tidy_generalized_pareto.html +++ b/docs/reference/tidy_generalized_pareto.html @@ -42,7 +42,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_geometric.html b/docs/reference/tidy_geometric.html index d3054d3d..2866f5d1 100644 --- a/docs/reference/tidy_geometric.html +++ b/docs/reference/tidy_geometric.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_hypergeometric.html b/docs/reference/tidy_hypergeometric.html index 92c067fb..0d59d9c0 100644 --- a/docs/reference/tidy_hypergeometric.html +++ b/docs/reference/tidy_hypergeometric.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_burr.html b/docs/reference/tidy_inverse_burr.html index a3e852f5..0153a85f 100644 --- a/docs/reference/tidy_inverse_burr.html +++ b/docs/reference/tidy_inverse_burr.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_exponential.html b/docs/reference/tidy_inverse_exponential.html index 64e76f25..24d53071 100644 --- a/docs/reference/tidy_inverse_exponential.html +++ b/docs/reference/tidy_inverse_exponential.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_gamma.html b/docs/reference/tidy_inverse_gamma.html index 7c05f1f8..3b93e963 100644 --- a/docs/reference/tidy_inverse_gamma.html +++ b/docs/reference/tidy_inverse_gamma.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_normal.html b/docs/reference/tidy_inverse_normal.html index d08df809..1bb00f18 100644 --- a/docs/reference/tidy_inverse_normal.html +++ b/docs/reference/tidy_inverse_normal.html @@ -38,7 +38,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_pareto.html b/docs/reference/tidy_inverse_pareto.html index 7579acf9..5a319e03 100644 --- a/docs/reference/tidy_inverse_pareto.html +++ b/docs/reference/tidy_inverse_pareto.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_weibull.html b/docs/reference/tidy_inverse_weibull.html index 2f505a59..adaff635 100644 --- a/docs/reference/tidy_inverse_weibull.html +++ b/docs/reference/tidy_inverse_weibull.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_kurtosis_vec.html b/docs/reference/tidy_kurtosis_vec.html index de05e4ba..598244b6 100644 --- a/docs/reference/tidy_kurtosis_vec.html +++ b/docs/reference/tidy_kurtosis_vec.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_logistic.html b/docs/reference/tidy_logistic.html index 0eb83595..034afa1c 100644 --- a/docs/reference/tidy_logistic.html +++ b/docs/reference/tidy_logistic.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_lognormal.html b/docs/reference/tidy_lognormal.html index a0735953..c7e67b75 100644 --- a/docs/reference/tidy_lognormal.html +++ b/docs/reference/tidy_lognormal.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_mcmc_sampling.html b/docs/reference/tidy_mcmc_sampling.html index 49984484..4206b149 100644 --- a/docs/reference/tidy_mcmc_sampling.html +++ b/docs/reference/tidy_mcmc_sampling.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_mixture_density.html b/docs/reference/tidy_mixture_density.html index 5ce35bfa..01a3bcd4 100644 --- a/docs/reference/tidy_mixture_density.html +++ b/docs/reference/tidy_mixture_density.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_multi_dist_autoplot.html b/docs/reference/tidy_multi_dist_autoplot.html index 4d303790..33234eac 100644 --- a/docs/reference/tidy_multi_dist_autoplot.html +++ b/docs/reference/tidy_multi_dist_autoplot.html @@ -32,7 +32,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_multi_single_dist.html b/docs/reference/tidy_multi_single_dist.html index 217fe621..73286cb0 100644 --- a/docs/reference/tidy_multi_single_dist.html +++ b/docs/reference/tidy_multi_single_dist.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_negative_binomial.html b/docs/reference/tidy_negative_binomial.html index 29b8401c..bf93938c 100644 --- a/docs/reference/tidy_negative_binomial.html +++ b/docs/reference/tidy_negative_binomial.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_normal.html b/docs/reference/tidy_normal.html index 87eaf010..824adbf7 100644 --- a/docs/reference/tidy_normal.html +++ b/docs/reference/tidy_normal.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_paralogistic.html b/docs/reference/tidy_paralogistic.html index 530cf8db..b19a1e2c 100644 --- a/docs/reference/tidy_paralogistic.html +++ b/docs/reference/tidy_paralogistic.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_pareto.html b/docs/reference/tidy_pareto.html index 15fd1b22..f82cdf16 100644 --- a/docs/reference/tidy_pareto.html +++ b/docs/reference/tidy_pareto.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_pareto1.html b/docs/reference/tidy_pareto1.html index 17b37aaa..f7b36edc 100644 --- a/docs/reference/tidy_pareto1.html +++ b/docs/reference/tidy_pareto1.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_poisson.html b/docs/reference/tidy_poisson.html index 787e2698..f8082b19 100644 --- a/docs/reference/tidy_poisson.html +++ b/docs/reference/tidy_poisson.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_random_walk.html b/docs/reference/tidy_random_walk.html index ac044be3..daf0f340 100644 --- a/docs/reference/tidy_random_walk.html +++ b/docs/reference/tidy_random_walk.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_random_walk_autoplot.html b/docs/reference/tidy_random_walk_autoplot.html index 4155286e..3ff3e784 100644 --- a/docs/reference/tidy_random_walk_autoplot.html +++ b/docs/reference/tidy_random_walk_autoplot.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_range_statistic.html b/docs/reference/tidy_range_statistic.html index 7f1b524b..2292bcc1 100644 --- a/docs/reference/tidy_range_statistic.html +++ b/docs/reference/tidy_range_statistic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_scale_zero_one_vec.html b/docs/reference/tidy_scale_zero_one_vec.html index 7b1cda25..ec01c7a3 100644 --- a/docs/reference/tidy_scale_zero_one_vec.html +++ b/docs/reference/tidy_scale_zero_one_vec.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_skewness_vec.html b/docs/reference/tidy_skewness_vec.html index d4e1eab6..54afe504 100644 --- a/docs/reference/tidy_skewness_vec.html +++ b/docs/reference/tidy_skewness_vec.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_stat_tbl.html b/docs/reference/tidy_stat_tbl.html index 5904bcb8..2a9365f7 100644 --- a/docs/reference/tidy_stat_tbl.html +++ b/docs/reference/tidy_stat_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_t.html b/docs/reference/tidy_t.html index e5e95c31..4f8dccb3 100644 --- a/docs/reference/tidy_t.html +++ b/docs/reference/tidy_t.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_triangular.html b/docs/reference/tidy_triangular.html index 6e7538f1..a861f826 100644 --- a/docs/reference/tidy_triangular.html +++ b/docs/reference/tidy_triangular.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_uniform.html b/docs/reference/tidy_uniform.html index ed16c1a7..925c7c5e 100644 --- a/docs/reference/tidy_uniform.html +++ b/docs/reference/tidy_uniform.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_weibull.html b/docs/reference/tidy_weibull.html index 6b89093f..79b143de 100644 --- a/docs/reference/tidy_weibull.html +++ b/docs/reference/tidy_weibull.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_zero_truncated_binomial.html b/docs/reference/tidy_zero_truncated_binomial.html index dd5ef35c..84a40af4 100644 --- a/docs/reference/tidy_zero_truncated_binomial.html +++ b/docs/reference/tidy_zero_truncated_binomial.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_zero_truncated_geometric.html b/docs/reference/tidy_zero_truncated_geometric.html index 53109a98..6ff1d425 100644 --- a/docs/reference/tidy_zero_truncated_geometric.html +++ b/docs/reference/tidy_zero_truncated_geometric.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_zero_truncated_negative_binomial.html b/docs/reference/tidy_zero_truncated_negative_binomial.html index f76140db..98c8bf91 100644 --- a/docs/reference/tidy_zero_truncated_negative_binomial.html +++ b/docs/reference/tidy_zero_truncated_negative_binomial.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_zero_truncated_poisson.html b/docs/reference/tidy_zero_truncated_poisson.html index 25096230..b8cdc1d6 100644 --- a/docs/reference/tidy_zero_truncated_poisson.html +++ b/docs/reference/tidy_zero_truncated_poisson.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidyeval.html b/docs/reference/tidyeval.html index 2c6b4427..903a9f94 100644 --- a/docs/reference/tidyeval.html +++ b/docs/reference/tidyeval.html @@ -160,7 +160,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -257,8 +257,8 @@ data %>% summarise("{{ var }}_mean_{suffix}" := mean({{ var }})) } -Many tidy eval functions like dplyr::mutate() or -dplyr::summarise() give an automatic name to unnamed inputs. If +Many tidy eval functions like dplyr::mutate() or +dplyr::summarise() give an automatic name to unnamed inputs. If you need to create the same sort of automatic names by yourself, use as_label(). For instance, the glue-tunnelling syntax above can be reproduced manually with: diff --git a/docs/reference/triangle_plot.html b/docs/reference/triangle_plot.html index 7b479312..4939de86 100644 --- a/docs/reference/triangle_plot.html +++ b/docs/reference/triangle_plot.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_bernoulli_param_estimate.html b/docs/reference/util_bernoulli_param_estimate.html index e2f0e9e3..1d738618 100644 --- a/docs/reference/util_bernoulli_param_estimate.html +++ b/docs/reference/util_bernoulli_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -148,7 +148,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tb <- tidy_bernoulli(.prob = .1) |> pull(y) +tb <- tidy_bernoulli(.prob = .1) |> pull(y) output <- util_bernoulli_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_bernoulli_stats_tbl.html b/docs/reference/util_bernoulli_stats_tbl.html index 7e4feca8..70e68ae5 100644 --- a/docs/reference/util_bernoulli_stats_tbl.html +++ b/docs/reference/util_bernoulli_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_bernoulli() |> util_bernoulli_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_bernoulli" diff --git a/docs/reference/util_beta_aic.html b/docs/reference/util_beta_aic.html index a2c03b16..cf8f32d0 100644 --- a/docs/reference/util_beta_aic.html +++ b/docs/reference/util_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_beta_param_estimate.html b/docs/reference/util_beta_param_estimate.html index c407de4d..fdc7354b 100644 --- a/docs/reference/util_beta_param_estimate.html +++ b/docs/reference/util_beta_param_estimate.html @@ -34,7 +34,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_beta_stats_tbl.html b/docs/reference/util_beta_stats_tbl.html index 7a6c6575..c2965034 100644 --- a/docs/reference/util_beta_stats_tbl.html +++ b/docs/reference/util_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_beta() |> util_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_beta" diff --git a/docs/reference/util_binomial_aic.html b/docs/reference/util_binomial_aic.html index a631bc3c..7e49bb12 100644 --- a/docs/reference/util_binomial_aic.html +++ b/docs/reference/util_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_binomial_param_estimate.html b/docs/reference/util_binomial_param_estimate.html index 21e019a2..0d831c68 100644 --- a/docs/reference/util_binomial_param_estimate.html +++ b/docs/reference/util_binomial_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_binomial_stats_tbl.html b/docs/reference/util_binomial_stats_tbl.html index ea82ab43..7a921c2b 100644 --- a/docs/reference/util_binomial_stats_tbl.html +++ b/docs/reference/util_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -138,7 +138,7 @@ Examples tidy_binomial() |> util_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_binomial" diff --git a/docs/reference/util_burr_param_estimate.html b/docs/reference/util_burr_param_estimate.html index fa2fb199..0ecfdaa2 100644 --- a/docs/reference/util_burr_param_estimate.html +++ b/docs/reference/util_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_burr_stats_tbl.html b/docs/reference/util_burr_stats_tbl.html index 16da87f4..0b79ce90 100644 --- a/docs/reference/util_burr_stats_tbl.html +++ b/docs/reference/util_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_burr() |> util_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_burr" diff --git a/docs/reference/util_cauchy_aic.html b/docs/reference/util_cauchy_aic.html index 43a09f46..62addb6b 100644 --- a/docs/reference/util_cauchy_aic.html +++ b/docs/reference/util_cauchy_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_cauchy_param_estimate.html b/docs/reference/util_cauchy_param_estimate.html index 924d0017..89a80fb6 100644 --- a/docs/reference/util_cauchy_param_estimate.html +++ b/docs/reference/util_cauchy_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_cauchy_stats_tbl.html b/docs/reference/util_cauchy_stats_tbl.html index 1b910cd3..c22e2667 100644 --- a/docs/reference/util_cauchy_stats_tbl.html +++ b/docs/reference/util_cauchy_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_cauchy() |> util_cauchy_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_cauchy" diff --git a/docs/reference/util_chisq_aic.html b/docs/reference/util_chisq_aic.html index 7dfd92ef..4448ffbd 100644 --- a/docs/reference/util_chisq_aic.html +++ b/docs/reference/util_chisq_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_chisquare_param_estimate.html b/docs/reference/util_chisquare_param_estimate.html index a767d4cc..d8de3605 100644 --- a/docs/reference/util_chisquare_param_estimate.html +++ b/docs/reference/util_chisquare_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -185,7 +185,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) +tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) output <- util_chisquare_param_estimate(tc) #> Warning: NaNs produced #> Warning: NaNs produced diff --git a/docs/reference/util_chisquare_stats_tbl.html b/docs/reference/util_chisquare_stats_tbl.html index 938aef47..493d3248 100644 --- a/docs/reference/util_chisquare_stats_tbl.html +++ b/docs/reference/util_chisquare_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_chisquare() |> util_chisquare_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_chisquare" diff --git a/docs/reference/util_exponential_aic.html b/docs/reference/util_exponential_aic.html index 3e46c5e3..172c9e0b 100644 --- a/docs/reference/util_exponential_aic.html +++ b/docs/reference/util_exponential_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_exponential_param_estimate.html b/docs/reference/util_exponential_param_estimate.html index c5e2f465..6948d4c8 100644 --- a/docs/reference/util_exponential_param_estimate.html +++ b/docs/reference/util_exponential_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -te <- tidy_exponential(.rate = .1) |> pull(y) +te <- tidy_exponential(.rate = .1) |> pull(y) output <- util_exponential_param_estimate(te) output$parameter_tbl diff --git a/docs/reference/util_exponential_stats_tbl.html b/docs/reference/util_exponential_stats_tbl.html index 885b4759..cc4b3ca5 100644 --- a/docs/reference/util_exponential_stats_tbl.html +++ b/docs/reference/util_exponential_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_exponential() |> util_exponential_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_exponential" diff --git a/docs/reference/util_f_aic.html b/docs/reference/util_f_aic.html index e1cef1d1..af8f232e 100644 --- a/docs/reference/util_f_aic.html +++ b/docs/reference/util_f_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_param_estimate.html b/docs/reference/util_f_param_estimate.html index 7b8f835a..38e1dfe1 100644 --- a/docs/reference/util_f_param_estimate.html +++ b/docs/reference/util_f_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_stats_tbl.html b/docs/reference/util_f_stats_tbl.html index 90d9036b..a38c7774 100644 --- a/docs/reference/util_f_stats_tbl.html +++ b/docs/reference/util_f_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_f() |> util_f_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_f" diff --git a/docs/reference/util_gamma_aic.html b/docs/reference/util_gamma_aic.html index d1c71922..7bd78b4b 100644 --- a/docs/reference/util_gamma_aic.html +++ b/docs/reference/util_gamma_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_gamma_param_estimate.html b/docs/reference/util_gamma_param_estimate.html index 3ef9902b..a41d1709 100644 --- a/docs/reference/util_gamma_param_estimate.html +++ b/docs/reference/util_gamma_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) +tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) output <- util_gamma_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_gamma_stats_tbl.html b/docs/reference/util_gamma_stats_tbl.html index 9a6bf86e..d7d82a05 100644 --- a/docs/reference/util_gamma_stats_tbl.html +++ b/docs/reference/util_gamma_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_gamma() |> util_gamma_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gamma" diff --git a/docs/reference/util_generalized_beta_aic.html b/docs/reference/util_generalized_beta_aic.html index 8022a031..6fa91516 100644 --- a/docs/reference/util_generalized_beta_aic.html +++ b/docs/reference/util_generalized_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_param_estimate.html b/docs/reference/util_generalized_beta_param_estimate.html index e8f093c1..2529aa56 100644 --- a/docs/reference/util_generalized_beta_param_estimate.html +++ b/docs/reference/util_generalized_beta_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_stats_tbl.html b/docs/reference/util_generalized_beta_stats_tbl.html index e00568ad..dea691db 100644 --- a/docs/reference/util_generalized_beta_stats_tbl.html +++ b/docs/reference/util_generalized_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_generalized_beta() |> util_generalized_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_generalized_beta" diff --git a/docs/reference/util_generalized_pareto_aic.html b/docs/reference/util_generalized_pareto_aic.html index 40a5cd0f..ce6f9c15 100644 --- a/docs/reference/util_generalized_pareto_aic.html +++ b/docs/reference/util_generalized_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_param_estimate.html b/docs/reference/util_generalized_pareto_param_estimate.html index f4fe3056..d10bf881 100644 --- a/docs/reference/util_generalized_pareto_param_estimate.html +++ b/docs/reference/util_generalized_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_stats_tbl.html b/docs/reference/util_generalized_pareto_stats_tbl.html index 7f8c6536..ebb3841a 100644 --- a/docs/reference/util_generalized_pareto_stats_tbl.html +++ b/docs/reference/util_generalized_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_generalized_pareto() |> util_generalized_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_generalized_pareto" diff --git a/docs/reference/util_geometric_aic.html b/docs/reference/util_geometric_aic.html index 7c360a69..7f38d139 100644 --- a/docs/reference/util_geometric_aic.html +++ b/docs/reference/util_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_geometric_param_estimate.html b/docs/reference/util_geometric_param_estimate.html index 3b272589..74eabdf2 100644 --- a/docs/reference/util_geometric_param_estimate.html +++ b/docs/reference/util_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_geometric(.prob = .1) |> pull(y) +tg <- tidy_geometric(.prob = .1) |> pull(y) output <- util_geometric_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_geometric_stats_tbl.html b/docs/reference/util_geometric_stats_tbl.html index 80b52983..5129cc71 100644 --- a/docs/reference/util_geometric_stats_tbl.html +++ b/docs/reference/util_geometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_geometric() |> util_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_geometric" diff --git a/docs/reference/util_hypergeometric_aic.html b/docs/reference/util_hypergeometric_aic.html index 1e544454..bdd0e55f 100644 --- a/docs/reference/util_hypergeometric_aic.html +++ b/docs/reference/util_hypergeometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_param_estimate.html b/docs/reference/util_hypergeometric_param_estimate.html index cccff580..a1a28c71 100644 --- a/docs/reference/util_hypergeometric_param_estimate.html +++ b/docs/reference/util_hypergeometric_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_stats_tbl.html b/docs/reference/util_hypergeometric_stats_tbl.html index 00818380..22fe2b4c 100644 --- a/docs/reference/util_hypergeometric_stats_tbl.html +++ b/docs/reference/util_hypergeometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_hypergeometric() |> util_hypergeometric_stats_tbl() |> - glimpse() + glimpse() #> Warning: NaNs produced #> Rows: 1 #> Columns: 18 diff --git a/docs/reference/util_inverse_burr_aic.html b/docs/reference/util_inverse_burr_aic.html index f500f861..8a8076e8 100644 --- a/docs/reference/util_inverse_burr_aic.html +++ b/docs/reference/util_inverse_burr_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_burr_param_estimate.html b/docs/reference/util_inverse_burr_param_estimate.html index fc3c105c..9a853649 100644 --- a/docs/reference/util_inverse_burr_param_estimate.html +++ b/docs/reference/util_inverse_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -145,7 +145,7 @@ Exampleslibrary(ggplot2) set.seed(123) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_inverse_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_inverse_burr_stats_tbl.html b/docs/reference/util_inverse_burr_stats_tbl.html index e9bb22e8..bc87f727 100644 --- a/docs/reference/util_inverse_burr_stats_tbl.html +++ b/docs/reference/util_inverse_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_burr() |> util_inverse_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_burr" diff --git a/docs/reference/util_inverse_pareto_aic.html b/docs/reference/util_inverse_pareto_aic.html index 0aad6746..c6f7dcee 100644 --- a/docs/reference/util_inverse_pareto_aic.html +++ b/docs/reference/util_inverse_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_param_estimate.html b/docs/reference/util_inverse_pareto_param_estimate.html index de644c11..4fe55d96 100644 --- a/docs/reference/util_inverse_pareto_param_estimate.html +++ b/docs/reference/util_inverse_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_stats_tbl.html b/docs/reference/util_inverse_pareto_stats_tbl.html index dbe5a59a..d4d420c0 100644 --- a/docs/reference/util_inverse_pareto_stats_tbl.html +++ b/docs/reference/util_inverse_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_inverse_pareto() |> util_inverse_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_inverse_pareto" diff --git a/docs/reference/util_inverse_weibull_aic.html b/docs/reference/util_inverse_weibull_aic.html index 509b662d..04e3d466 100644 --- a/docs/reference/util_inverse_weibull_aic.html +++ b/docs/reference/util_inverse_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_param_estimate.html b/docs/reference/util_inverse_weibull_param_estimate.html index 634c9be2..cf8d02b3 100644 --- a/docs/reference/util_inverse_weibull_param_estimate.html +++ b/docs/reference/util_inverse_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_stats_tbl.html b/docs/reference/util_inverse_weibull_stats_tbl.html index 76a4d185..43f46c0c 100644 --- a/docs/reference/util_inverse_weibull_stats_tbl.html +++ b/docs/reference/util_inverse_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_weibull() |> util_inverse_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_weibull" diff --git a/docs/reference/util_logistic_aic.html b/docs/reference/util_logistic_aic.html index 941bad8c..559f2add 100644 --- a/docs/reference/util_logistic_aic.html +++ b/docs/reference/util_logistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_param_estimate.html b/docs/reference/util_logistic_param_estimate.html index a6f4e755..7a119848 100644 --- a/docs/reference/util_logistic_param_estimate.html +++ b/docs/reference/util_logistic_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_stats_tbl.html b/docs/reference/util_logistic_stats_tbl.html index 54096cc9..b9f2d63c 100644 --- a/docs/reference/util_logistic_stats_tbl.html +++ b/docs/reference/util_logistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_logistic() |> util_logistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_logistic" diff --git a/docs/reference/util_lognormal_aic.html b/docs/reference/util_lognormal_aic.html index ca5e00dd..27046f56 100644 --- a/docs/reference/util_lognormal_aic.html +++ b/docs/reference/util_lognormal_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_lognormal_param_estimate.html b/docs/reference/util_lognormal_param_estimate.html index dc9accc5..f1bade01 100644 --- a/docs/reference/util_lognormal_param_estimate.html +++ b/docs/reference/util_lognormal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -170,7 +170,7 @@ Examples tidy_combined_autoplot() -tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) +tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) util_lognormal_param_estimate(tb)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method mean_log sd_log shape_ratio diff --git a/docs/reference/util_lognormal_stats_tbl.html b/docs/reference/util_lognormal_stats_tbl.html index 80f5ac4d..da15ee4f 100644 --- a/docs/reference/util_lognormal_stats_tbl.html +++ b/docs/reference/util_lognormal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_lognormal() |> util_lognormal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_lognormal" diff --git a/docs/reference/util_negative_binomial_aic.html b/docs/reference/util_negative_binomial_aic.html index 8a39ec7e..33e42944 100644 --- a/docs/reference/util_negative_binomial_aic.html +++ b/docs/reference/util_negative_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_param_estimate.html b/docs/reference/util_negative_binomial_param_estimate.html index 967f2730..288ed4f0 100644 --- a/docs/reference/util_negative_binomial_param_estimate.html +++ b/docs/reference/util_negative_binomial_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_stats_tbl.html b/docs/reference/util_negative_binomial_stats_tbl.html index 13a3f691..e76734a7 100644 --- a/docs/reference/util_negative_binomial_stats_tbl.html +++ b/docs/reference/util_negative_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_negative_binomial() |> util_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_negative_binomial" diff --git a/docs/reference/util_normal_aic.html b/docs/reference/util_normal_aic.html index 546bbde2..6ff1ac68 100644 --- a/docs/reference/util_normal_aic.html +++ b/docs/reference/util_normal_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_param_estimate.html b/docs/reference/util_normal_param_estimate.html index e418d51a..dae9b6dc 100644 --- a/docs/reference/util_normal_param_estimate.html +++ b/docs/reference/util_normal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_stats_tbl.html b/docs/reference/util_normal_stats_tbl.html index b48be3df..d8930f0b 100644 --- a/docs/reference/util_normal_stats_tbl.html +++ b/docs/reference/util_normal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_normal() |> util_normal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gaussian" diff --git a/docs/reference/util_paralogistic_aic.html b/docs/reference/util_paralogistic_aic.html index 725f9635..4d44d4aa 100644 --- a/docs/reference/util_paralogistic_aic.html +++ b/docs/reference/util_paralogistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_param_estimate.html b/docs/reference/util_paralogistic_param_estimate.html index 1105e989..87fb964c 100644 --- a/docs/reference/util_paralogistic_param_estimate.html +++ b/docs/reference/util_paralogistic_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_stats_tbl.html b/docs/reference/util_paralogistic_stats_tbl.html index 8de9ab8a..118a2734 100644 --- a/docs/reference/util_paralogistic_stats_tbl.html +++ b/docs/reference/util_paralogistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -127,7 +127,7 @@ Examplesset.seed(123) tidy_paralogistic(.n = 50, .shape = 5, .rate = 6) |> util_paralogistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_paralogistic" diff --git a/docs/reference/util_pareto1_aic.html b/docs/reference/util_pareto1_aic.html index 30bb2a2d..06c382ae 100644 --- a/docs/reference/util_pareto1_aic.html +++ b/docs/reference/util_pareto1_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_param_estimate.html b/docs/reference/util_pareto1_param_estimate.html index be47ebdf..512d9c44 100644 --- a/docs/reference/util_pareto1_param_estimate.html +++ b/docs/reference/util_pareto1_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_stats_tbl.html b/docs/reference/util_pareto1_stats_tbl.html index 264cb79e..1654f253 100644 --- a/docs/reference/util_pareto1_stats_tbl.html +++ b/docs/reference/util_pareto1_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -132,7 +132,7 @@ Examples tidy_pareto1() |> util_pareto1_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto_single_parameter" diff --git a/docs/reference/util_pareto_aic.html b/docs/reference/util_pareto_aic.html index 3935513d..a459a584 100644 --- a/docs/reference/util_pareto_aic.html +++ b/docs/reference/util_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto_param_estimate.html b/docs/reference/util_pareto_param_estimate.html index b166c8af..7f508e5f 100644 --- a/docs/reference/util_pareto_param_estimate.html +++ b/docs/reference/util_pareto_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -176,7 +176,7 @@ Examples tidy_combined_autoplot() -t <- tidy_pareto(50, 1, 1) |> pull(y) +t <- tidy_pareto(50, 1, 1) |> pull(y) util_pareto_param_estimate(t)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method shape scale shape_ratio diff --git a/docs/reference/util_pareto_stats_tbl.html b/docs/reference/util_pareto_stats_tbl.html index fed5d901..e89c5040 100644 --- a/docs/reference/util_pareto_stats_tbl.html +++ b/docs/reference/util_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -136,7 +136,7 @@ Examples tidy_pareto() |> util_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto" diff --git a/docs/reference/util_poisson_aic.html b/docs/reference/util_poisson_aic.html index 7b2241f9..3b66ed50 100644 --- a/docs/reference/util_poisson_aic.html +++ b/docs/reference/util_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_param_estimate.html b/docs/reference/util_poisson_param_estimate.html index c27b7a88..b7009711 100644 --- a/docs/reference/util_poisson_param_estimate.html +++ b/docs/reference/util_poisson_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_stats_tbl.html b/docs/reference/util_poisson_stats_tbl.html index 16037c48..f4f2536e 100644 --- a/docs/reference/util_poisson_stats_tbl.html +++ b/docs/reference/util_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_poisson() |> util_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_poisson" diff --git a/docs/reference/util_t_aic.html b/docs/reference/util_t_aic.html index 8a7d7172..07cf2841 100644 --- a/docs/reference/util_t_aic.html +++ b/docs/reference/util_t_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_param_estimate.html b/docs/reference/util_t_param_estimate.html index 07caed12..e87c9558 100644 --- a/docs/reference/util_t_param_estimate.html +++ b/docs/reference/util_t_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_stats_tbl.html b/docs/reference/util_t_stats_tbl.html index 2eb8e3ef..d83e1f68 100644 --- a/docs/reference/util_t_stats_tbl.html +++ b/docs/reference/util_t_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_t() |> util_t_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_t" diff --git a/docs/reference/util_triangular_aic.html b/docs/reference/util_triangular_aic.html index 1c99bf53..84bef91e 100644 --- a/docs/reference/util_triangular_aic.html +++ b/docs/reference/util_triangular_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_param_estimate.html b/docs/reference/util_triangular_param_estimate.html index b6451547..0fd09750 100644 --- a/docs/reference/util_triangular_param_estimate.html +++ b/docs/reference/util_triangular_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_stats_tbl.html b/docs/reference/util_triangular_stats_tbl.html index 9c2e0eff..5563bc9a 100644 --- a/docs/reference/util_triangular_stats_tbl.html +++ b/docs/reference/util_triangular_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_triangular() |> util_triangular_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 19 #> $ tidy_function <chr> "tidy_triangular" diff --git a/docs/reference/util_uniform_aic.html b/docs/reference/util_uniform_aic.html index 6359b650..aca76de7 100644 --- a/docs/reference/util_uniform_aic.html +++ b/docs/reference/util_uniform_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_param_estimate.html b/docs/reference/util_uniform_param_estimate.html index 334cc677..cc5739da 100644 --- a/docs/reference/util_uniform_param_estimate.html +++ b/docs/reference/util_uniform_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_stats_tbl.html b/docs/reference/util_uniform_stats_tbl.html index 50ad2965..631b091e 100644 --- a/docs/reference/util_uniform_stats_tbl.html +++ b/docs/reference/util_uniform_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_uniform() |> util_uniform_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_uniform" diff --git a/docs/reference/util_weibull_aic.html b/docs/reference/util_weibull_aic.html index 37c5a74f..24b4911d 100644 --- a/docs/reference/util_weibull_aic.html +++ b/docs/reference/util_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_param_estimate.html b/docs/reference/util_weibull_param_estimate.html index 00ba0d39..da957364 100644 --- a/docs/reference/util_weibull_param_estimate.html +++ b/docs/reference/util_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_stats_tbl.html b/docs/reference/util_weibull_stats_tbl.html index 8ffd84fe..6a13d26e 100644 --- a/docs/reference/util_weibull_stats_tbl.html +++ b/docs/reference/util_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_weibull() |> util_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_weibull" diff --git a/docs/reference/util_zero_truncated_binomial_aic.html b/docs/reference/util_zero_truncated_binomial_aic.html index f6d7dfd9..600102c0 100644 --- a/docs/reference/util_zero_truncated_binomial_aic.html +++ b/docs/reference/util_zero_truncated_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_param_estimate.html b/docs/reference/util_zero_truncated_binomial_param_estimate.html index 4ac5326d..ed97e23a 100644 --- a/docs/reference/util_zero_truncated_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_binomial_stats_tbl.html index 80543200..ac268042 100644 --- a/docs/reference/util_zero_truncated_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -135,7 +135,7 @@ Examplesset.seed(123) tidy_zero_truncated_binomial(.size = 10, .prob = 0.1) |> util_zero_truncated_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 15 #> $ tidy_function <chr> "tidy_zero_truncated_binomial" diff --git a/docs/reference/util_zero_truncated_geometric_aic.html b/docs/reference/util_zero_truncated_geometric_aic.html index 97009878..de15aa06 100644 --- a/docs/reference/util_zero_truncated_geometric_aic.html +++ b/docs/reference/util_zero_truncated_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_param_estimate.html b/docs/reference/util_zero_truncated_geometric_param_estimate.html index 5f861c2e..81f29889 100644 --- a/docs/reference/util_zero_truncated_geometric_param_estimate.html +++ b/docs/reference/util_zero_truncated_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_stats_tbl.html b/docs/reference/util_zero_truncated_geometric_stats_tbl.html index 7ff2e70a..05a904fd 100644 --- a/docs/reference/util_zero_truncated_geometric_stats_tbl.html +++ b/docs/reference/util_zero_truncated_geometric_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_zero_truncated_geometric(.prob = 0.1) |> util_zero_truncated_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_geometric" diff --git a/docs/reference/util_zero_truncated_negative_binomial_aic.html b/docs/reference/util_zero_truncated_negative_binomial_aic.html index b4bc9746..70458756 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_aic.html +++ b/docs/reference/util_zero_truncated_negative_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html index f7a1b138..99bcce0c 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html index c6ad3dae..0a119a83 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -142,7 +142,7 @@ Examples tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |> util_zero_truncated_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_negative_binomial" diff --git a/docs/reference/util_zero_truncated_poisson_aic.html b/docs/reference/util_zero_truncated_poisson_aic.html index fa8ed9b8..066dde32 100644 --- a/docs/reference/util_zero_truncated_poisson_aic.html +++ b/docs/reference/util_zero_truncated_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_poisson_param_estimate.html b/docs/reference/util_zero_truncated_poisson_param_estimate.html index 3befee1c..0556ae01 100644 --- a/docs/reference/util_zero_truncated_poisson_param_estimate.html +++ b/docs/reference/util_zero_truncated_poisson_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -172,7 +172,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>
Sanderson S (2024). TidyDensity: Functions for Tidy Analysis and Generation of Random Data. -R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity. +R package version 1.5.0.9000, https://github.com/spsanderson/TidyDensity.
@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, - note = {R package version 1.4.0.9000}, + note = {R package version 1.5.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }
An example plot of the tidy_normal data.
tidy_normal
diff --git a/docs/news/index.html b/docs/news/index.html index 1c3132d7..e763ac70 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -55,12 +55,15 @@ TidyDensity (development version) + + +TidyDensity 1.5.0CRAN release: 2024-05-28 -Breaking Changes +Breaking Changes None -New Features +New Features Fix #468 - Add function util_negative_binomial_aic() to calculate the AIC for the negative binomial distribution. Fix #470 - Add function util_zero_truncated_negative_binomial_param_estimate() to estimate the parameters of the zero-truncated negative binomial distribution. Add function util_zero_truncated_negative_binomial_aic() to calculate the AIC for the zero-truncated negative binomial distribution. Add function util_zero_truncated_negative_binomial_stats_tbl() to create a summary table of the zero-truncated negative binomial distribution. Fix #471 - Add function util_zero_truncated_poisson_param_estimate() to estimate the parameters of the zero-truncated Poisson distribution. Add function util_zero_truncated_poisson_aic() to calculate the AIC for the zero-truncated Poisson distribution. Add function util_zero_truncated_poisson_stats_tbl() to create a summary table of the zero-truncated Poisson distribution. @@ -78,7 +81,7 @@ New FeaturesFix #469 - Add function util_zero_truncated_binomial_stats_tbl() to create a summary table of the Zero Truncated binomial distribution. Add function util_zero_truncated_binomial_param_estimate() to estimate the parameters of the Zero Truncated binomial distribution. Add function util_zero_truncated_binomial_aic() to calculate the AIC for the Zero Truncated binomial distribution. -Minor Improvements and Fixes +Minor Improvements and Fixes Fix #468 - Update util_negative_binomial_param_estimate() to add the use of optim() for parameter estimation. Fix #465 - Add names to columns when .return_tibble = TRUE for quantile_normalize() @@ -130,7 +133,7 @@ New FeaturesMinor Fixes and Improvements Fix #372 and #373 - Update cvar() and csd() to a vectorized approach from @kokbent which speeds these up by over 100x Fix #350 - Update all tidy_ distribution functions to generate data using data.table this in many instances has resulted in a speed up of 30% or more. -Fix #379 - Replace the use of dplyr::cur_data() as it was deprecated in dplyr in favor of using dplyr::pick() +Fix #379 - Replace the use of dplyr::cur_data() as it was deprecated in dplyr in favor of using dplyr::pick() Fix #381 - Add tidy_triangular() to all autoplot functions. Fix #385 - For tidy_multi_dist_autoplot() the .plot_type = "quantile" did not work. diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 842be7c3..f01d3d5a 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 2.0.9 pkgdown_sha: ~ articles: getting-started: getting-started.html -last_built: 2024-05-16T02:14Z +last_built: 2024-05-30T11:42Z urls: reference: https://www.spsanderson.com/TidyDensity/reference article: https://www.spsanderson.com/TidyDensity/articles diff --git a/docs/reference/bootstrap_density_augment.html b/docs/reference/bootstrap_density_augment.html index 4df2b91d..8b8f4eeb 100644 --- a/docs/reference/bootstrap_density_augment.html +++ b/docs/reference/bootstrap_density_augment.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_p_augment.html b/docs/reference/bootstrap_p_augment.html index 78268fc1..de576f95 100644 --- a/docs/reference/bootstrap_p_augment.html +++ b/docs/reference/bootstrap_p_augment.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_p_vec.html b/docs/reference/bootstrap_p_vec.html index bd4e37ee..9a986a4f 100644 --- a/docs/reference/bootstrap_p_vec.html +++ b/docs/reference/bootstrap_p_vec.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_q_augment.html b/docs/reference/bootstrap_q_augment.html index e664ff9c..a4fff6df 100644 --- a/docs/reference/bootstrap_q_augment.html +++ b/docs/reference/bootstrap_q_augment.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_q_vec.html b/docs/reference/bootstrap_q_vec.html index 35afe3fd..d9db78b4 100644 --- a/docs/reference/bootstrap_q_vec.html +++ b/docs/reference/bootstrap_q_vec.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_stat_plot.html b/docs/reference/bootstrap_stat_plot.html index aa16cf52..d6cd8de6 100644 --- a/docs/reference/bootstrap_stat_plot.html +++ b/docs/reference/bootstrap_stat_plot.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/bootstrap_unnest_tbl.html b/docs/reference/bootstrap_unnest_tbl.html index df86a210..0a95254a 100644 --- a/docs/reference/bootstrap_unnest_tbl.html +++ b/docs/reference/bootstrap_unnest_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/cgmean.html b/docs/reference/cgmean.html index 8424b461..f43fc3d3 100644 --- a/docs/reference/cgmean.html +++ b/docs/reference/cgmean.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/check_duplicate_rows.html b/docs/reference/check_duplicate_rows.html index a21d46bb..38f50cb0 100644 --- a/docs/reference/check_duplicate_rows.html +++ b/docs/reference/check_duplicate_rows.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/chmean.html b/docs/reference/chmean.html index a79b0603..dc6f40f2 100644 --- a/docs/reference/chmean.html +++ b/docs/reference/chmean.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/ci_hi.html b/docs/reference/ci_hi.html index 29368d56..f1e55226 100644 --- a/docs/reference/ci_hi.html +++ b/docs/reference/ci_hi.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/ci_lo.html b/docs/reference/ci_lo.html index 37a37dd0..e5d5bd5a 100644 --- a/docs/reference/ci_lo.html +++ b/docs/reference/ci_lo.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/ckurtosis.html b/docs/reference/ckurtosis.html index 8b6e070c..7d44062d 100644 --- a/docs/reference/ckurtosis.html +++ b/docs/reference/ckurtosis.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/cmean.html b/docs/reference/cmean.html index 30a731ae..c1858687 100644 --- a/docs/reference/cmean.html +++ b/docs/reference/cmean.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -77,7 +77,7 @@ Value Details - A function to return the cumulative mean of a vector. It uses dplyr::cummean() + A function to return the cumulative mean of a vector. It uses dplyr::cummean() as the basis of the function. diff --git a/docs/reference/cmedian.html b/docs/reference/cmedian.html index 5aeeff4d..a1da93bc 100644 --- a/docs/reference/cmedian.html +++ b/docs/reference/cmedian.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/color_blind.html b/docs/reference/color_blind.html index 9d007732..c58c050a 100644 --- a/docs/reference/color_blind.html +++ b/docs/reference/color_blind.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/convert_to_ts.html b/docs/reference/convert_to_ts.html index 0fc391b5..ab2e8726 100644 --- a/docs/reference/convert_to_ts.html +++ b/docs/reference/convert_to_ts.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/csd.html b/docs/reference/csd.html index 0ac2df64..3498c0ab 100644 --- a/docs/reference/csd.html +++ b/docs/reference/csd.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/cskewness.html b/docs/reference/cskewness.html index 5208a617..fe66e1af 100644 --- a/docs/reference/cskewness.html +++ b/docs/reference/cskewness.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/cvar.html b/docs/reference/cvar.html index a46400c6..6c4875fc 100644 --- a/docs/reference/cvar.html +++ b/docs/reference/cvar.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/dist_type_extractor.html b/docs/reference/dist_type_extractor.html index 9554d190..f5cb3448 100644 --- a/docs/reference/dist_type_extractor.html +++ b/docs/reference/dist_type_extractor.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/figures/README-more_than_nine_simulations-1.png b/docs/reference/figures/README-more_than_nine_simulations-1.png index b88616e0..238ce5e3 100644 Binary files a/docs/reference/figures/README-more_than_nine_simulations-1.png and b/docs/reference/figures/README-more_than_nine_simulations-1.png differ diff --git a/docs/reference/figures/README-more_than_nine_simulations-2.png b/docs/reference/figures/README-more_than_nine_simulations-2.png index e3fe2633..4418caeb 100644 Binary files a/docs/reference/figures/README-more_than_nine_simulations-2.png and b/docs/reference/figures/README-more_than_nine_simulations-2.png differ diff --git a/docs/reference/figures/README-more_than_nine_simulations-3.png b/docs/reference/figures/README-more_than_nine_simulations-3.png index f95709ab..8a092e1b 100644 Binary files a/docs/reference/figures/README-more_than_nine_simulations-3.png and b/docs/reference/figures/README-more_than_nine_simulations-3.png differ diff --git a/docs/reference/figures/README-more_than_nine_simulations-4.png b/docs/reference/figures/README-more_than_nine_simulations-4.png index 8c880f54..c98e80d2 100644 Binary files a/docs/reference/figures/README-more_than_nine_simulations-4.png and b/docs/reference/figures/README-more_than_nine_simulations-4.png differ diff --git a/docs/reference/figures/README-plot_density-1.png b/docs/reference/figures/README-plot_density-1.png index 9e785fa2..16247316 100644 Binary files a/docs/reference/figures/README-plot_density-1.png and b/docs/reference/figures/README-plot_density-1.png differ diff --git a/docs/reference/figures/README-plot_density-2.png b/docs/reference/figures/README-plot_density-2.png index f11edb5f..ffa769c9 100644 Binary files a/docs/reference/figures/README-plot_density-2.png and b/docs/reference/figures/README-plot_density-2.png differ diff --git a/docs/reference/figures/README-plot_density-3.png b/docs/reference/figures/README-plot_density-3.png index c1bccb0d..b39c8908 100644 Binary files a/docs/reference/figures/README-plot_density-3.png and b/docs/reference/figures/README-plot_density-3.png differ diff --git a/docs/reference/figures/README-plot_density-4.png b/docs/reference/figures/README-plot_density-4.png index 2ca860a2..b1a68a67 100644 Binary files a/docs/reference/figures/README-plot_density-4.png and b/docs/reference/figures/README-plot_density-4.png differ diff --git a/docs/reference/index.html b/docs/reference/index.html index c110f17f..42ebb71b 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/pipe.html b/docs/reference/pipe.html index f342c2b6..915e568e 100644 --- a/docs/reference/pipe.html +++ b/docs/reference/pipe.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/quantile_normalize.html b/docs/reference/quantile_normalize.html index 14839114..8c43a71a 100644 --- a/docs/reference/quantile_normalize.html +++ b/docs/reference/quantile_normalize.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/td_scale_color_colorblind.html b/docs/reference/td_scale_color_colorblind.html index e7eb5ee8..2e403ee9 100644 --- a/docs/reference/td_scale_color_colorblind.html +++ b/docs/reference/td_scale_color_colorblind.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/td_scale_fill_colorblind.html b/docs/reference/td_scale_fill_colorblind.html index 5d848fd3..c44a5a10 100644 --- a/docs/reference/td_scale_fill_colorblind.html +++ b/docs/reference/td_scale_fill_colorblind.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_autoplot.html b/docs/reference/tidy_autoplot.html index f1da3841..6aef3995 100644 --- a/docs/reference/tidy_autoplot.html +++ b/docs/reference/tidy_autoplot.html @@ -32,7 +32,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_bernoulli.html b/docs/reference/tidy_bernoulli.html index d7b8b3a6..5715f1ce 100644 --- a/docs/reference/tidy_bernoulli.html +++ b/docs/reference/tidy_bernoulli.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_beta.html b/docs/reference/tidy_beta.html index eec609a1..a6dfa324 100644 --- a/docs/reference/tidy_beta.html +++ b/docs/reference/tidy_beta.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_binomial.html b/docs/reference/tidy_binomial.html index b96ff95e..5cb1c140 100644 --- a/docs/reference/tidy_binomial.html +++ b/docs/reference/tidy_binomial.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_bootstrap.html b/docs/reference/tidy_bootstrap.html index ef03df69..b5406dc6 100644 --- a/docs/reference/tidy_bootstrap.html +++ b/docs/reference/tidy_bootstrap.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_burr.html b/docs/reference/tidy_burr.html index d47d9bc3..e5fd53a8 100644 --- a/docs/reference/tidy_burr.html +++ b/docs/reference/tidy_burr.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_cauchy.html b/docs/reference/tidy_cauchy.html index 278c77cb..fd4f16e9 100644 --- a/docs/reference/tidy_cauchy.html +++ b/docs/reference/tidy_cauchy.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_chisquare.html b/docs/reference/tidy_chisquare.html index 7a5b4d2d..d2e6ab02 100644 --- a/docs/reference/tidy_chisquare.html +++ b/docs/reference/tidy_chisquare.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_combine_distributions.html b/docs/reference/tidy_combine_distributions.html index 346116a3..d44b931e 100644 --- a/docs/reference/tidy_combine_distributions.html +++ b/docs/reference/tidy_combine_distributions.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_combined_autoplot.html b/docs/reference/tidy_combined_autoplot.html index 96cef430..77f9acb5 100644 --- a/docs/reference/tidy_combined_autoplot.html +++ b/docs/reference/tidy_combined_autoplot.html @@ -32,7 +32,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_distribution_comparison.html b/docs/reference/tidy_distribution_comparison.html index 144fe81c..d021ff08 100644 --- a/docs/reference/tidy_distribution_comparison.html +++ b/docs/reference/tidy_distribution_comparison.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_distribution_summary_tbl.html b/docs/reference/tidy_distribution_summary_tbl.html index b07a144e..f0b0631f 100644 --- a/docs/reference/tidy_distribution_summary_tbl.html +++ b/docs/reference/tidy_distribution_summary_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -74,8 +74,8 @@ Argumentsdplyr::group_by() -and dplyr::select(). +This is the grouping variable that gets passed to dplyr::group_by() +and dplyr::select(). diff --git a/docs/reference/tidy_empirical.html b/docs/reference/tidy_empirical.html index bdb434e3..4023814e 100644 --- a/docs/reference/tidy_empirical.html +++ b/docs/reference/tidy_empirical.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_exponential.html b/docs/reference/tidy_exponential.html index e645a16e..d6bdfe31 100644 --- a/docs/reference/tidy_exponential.html +++ b/docs/reference/tidy_exponential.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_f.html b/docs/reference/tidy_f.html index a97af2f4..b48e94db 100644 --- a/docs/reference/tidy_f.html +++ b/docs/reference/tidy_f.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_four_autoplot.html b/docs/reference/tidy_four_autoplot.html index 4510cd0b..d598c93c 100644 --- a/docs/reference/tidy_four_autoplot.html +++ b/docs/reference/tidy_four_autoplot.html @@ -32,7 +32,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_gamma.html b/docs/reference/tidy_gamma.html index f52e50e1..66b7d5f2 100644 --- a/docs/reference/tidy_gamma.html +++ b/docs/reference/tidy_gamma.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_generalized_beta.html b/docs/reference/tidy_generalized_beta.html index e42cc312..ba92f1ee 100644 --- a/docs/reference/tidy_generalized_beta.html +++ b/docs/reference/tidy_generalized_beta.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_generalized_pareto.html b/docs/reference/tidy_generalized_pareto.html index 2cb25b79..2940fb28 100644 --- a/docs/reference/tidy_generalized_pareto.html +++ b/docs/reference/tidy_generalized_pareto.html @@ -42,7 +42,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_geometric.html b/docs/reference/tidy_geometric.html index d3054d3d..2866f5d1 100644 --- a/docs/reference/tidy_geometric.html +++ b/docs/reference/tidy_geometric.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_hypergeometric.html b/docs/reference/tidy_hypergeometric.html index 92c067fb..0d59d9c0 100644 --- a/docs/reference/tidy_hypergeometric.html +++ b/docs/reference/tidy_hypergeometric.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_burr.html b/docs/reference/tidy_inverse_burr.html index a3e852f5..0153a85f 100644 --- a/docs/reference/tidy_inverse_burr.html +++ b/docs/reference/tidy_inverse_burr.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_exponential.html b/docs/reference/tidy_inverse_exponential.html index 64e76f25..24d53071 100644 --- a/docs/reference/tidy_inverse_exponential.html +++ b/docs/reference/tidy_inverse_exponential.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_gamma.html b/docs/reference/tidy_inverse_gamma.html index 7c05f1f8..3b93e963 100644 --- a/docs/reference/tidy_inverse_gamma.html +++ b/docs/reference/tidy_inverse_gamma.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_normal.html b/docs/reference/tidy_inverse_normal.html index d08df809..1bb00f18 100644 --- a/docs/reference/tidy_inverse_normal.html +++ b/docs/reference/tidy_inverse_normal.html @@ -38,7 +38,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_pareto.html b/docs/reference/tidy_inverse_pareto.html index 7579acf9..5a319e03 100644 --- a/docs/reference/tidy_inverse_pareto.html +++ b/docs/reference/tidy_inverse_pareto.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_inverse_weibull.html b/docs/reference/tidy_inverse_weibull.html index 2f505a59..adaff635 100644 --- a/docs/reference/tidy_inverse_weibull.html +++ b/docs/reference/tidy_inverse_weibull.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_kurtosis_vec.html b/docs/reference/tidy_kurtosis_vec.html index de05e4ba..598244b6 100644 --- a/docs/reference/tidy_kurtosis_vec.html +++ b/docs/reference/tidy_kurtosis_vec.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_logistic.html b/docs/reference/tidy_logistic.html index 0eb83595..034afa1c 100644 --- a/docs/reference/tidy_logistic.html +++ b/docs/reference/tidy_logistic.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_lognormal.html b/docs/reference/tidy_lognormal.html index a0735953..c7e67b75 100644 --- a/docs/reference/tidy_lognormal.html +++ b/docs/reference/tidy_lognormal.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_mcmc_sampling.html b/docs/reference/tidy_mcmc_sampling.html index 49984484..4206b149 100644 --- a/docs/reference/tidy_mcmc_sampling.html +++ b/docs/reference/tidy_mcmc_sampling.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_mixture_density.html b/docs/reference/tidy_mixture_density.html index 5ce35bfa..01a3bcd4 100644 --- a/docs/reference/tidy_mixture_density.html +++ b/docs/reference/tidy_mixture_density.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_multi_dist_autoplot.html b/docs/reference/tidy_multi_dist_autoplot.html index 4d303790..33234eac 100644 --- a/docs/reference/tidy_multi_dist_autoplot.html +++ b/docs/reference/tidy_multi_dist_autoplot.html @@ -32,7 +32,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_multi_single_dist.html b/docs/reference/tidy_multi_single_dist.html index 217fe621..73286cb0 100644 --- a/docs/reference/tidy_multi_single_dist.html +++ b/docs/reference/tidy_multi_single_dist.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_negative_binomial.html b/docs/reference/tidy_negative_binomial.html index 29b8401c..bf93938c 100644 --- a/docs/reference/tidy_negative_binomial.html +++ b/docs/reference/tidy_negative_binomial.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_normal.html b/docs/reference/tidy_normal.html index 87eaf010..824adbf7 100644 --- a/docs/reference/tidy_normal.html +++ b/docs/reference/tidy_normal.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_paralogistic.html b/docs/reference/tidy_paralogistic.html index 530cf8db..b19a1e2c 100644 --- a/docs/reference/tidy_paralogistic.html +++ b/docs/reference/tidy_paralogistic.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_pareto.html b/docs/reference/tidy_pareto.html index 15fd1b22..f82cdf16 100644 --- a/docs/reference/tidy_pareto.html +++ b/docs/reference/tidy_pareto.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_pareto1.html b/docs/reference/tidy_pareto1.html index 17b37aaa..f7b36edc 100644 --- a/docs/reference/tidy_pareto1.html +++ b/docs/reference/tidy_pareto1.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_poisson.html b/docs/reference/tidy_poisson.html index 787e2698..f8082b19 100644 --- a/docs/reference/tidy_poisson.html +++ b/docs/reference/tidy_poisson.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_random_walk.html b/docs/reference/tidy_random_walk.html index ac044be3..daf0f340 100644 --- a/docs/reference/tidy_random_walk.html +++ b/docs/reference/tidy_random_walk.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_random_walk_autoplot.html b/docs/reference/tidy_random_walk_autoplot.html index 4155286e..3ff3e784 100644 --- a/docs/reference/tidy_random_walk_autoplot.html +++ b/docs/reference/tidy_random_walk_autoplot.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_range_statistic.html b/docs/reference/tidy_range_statistic.html index 7f1b524b..2292bcc1 100644 --- a/docs/reference/tidy_range_statistic.html +++ b/docs/reference/tidy_range_statistic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_scale_zero_one_vec.html b/docs/reference/tidy_scale_zero_one_vec.html index 7b1cda25..ec01c7a3 100644 --- a/docs/reference/tidy_scale_zero_one_vec.html +++ b/docs/reference/tidy_scale_zero_one_vec.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_skewness_vec.html b/docs/reference/tidy_skewness_vec.html index d4e1eab6..54afe504 100644 --- a/docs/reference/tidy_skewness_vec.html +++ b/docs/reference/tidy_skewness_vec.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_stat_tbl.html b/docs/reference/tidy_stat_tbl.html index 5904bcb8..2a9365f7 100644 --- a/docs/reference/tidy_stat_tbl.html +++ b/docs/reference/tidy_stat_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_t.html b/docs/reference/tidy_t.html index e5e95c31..4f8dccb3 100644 --- a/docs/reference/tidy_t.html +++ b/docs/reference/tidy_t.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_triangular.html b/docs/reference/tidy_triangular.html index 6e7538f1..a861f826 100644 --- a/docs/reference/tidy_triangular.html +++ b/docs/reference/tidy_triangular.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_uniform.html b/docs/reference/tidy_uniform.html index ed16c1a7..925c7c5e 100644 --- a/docs/reference/tidy_uniform.html +++ b/docs/reference/tidy_uniform.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_weibull.html b/docs/reference/tidy_weibull.html index 6b89093f..79b143de 100644 --- a/docs/reference/tidy_weibull.html +++ b/docs/reference/tidy_weibull.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_zero_truncated_binomial.html b/docs/reference/tidy_zero_truncated_binomial.html index dd5ef35c..84a40af4 100644 --- a/docs/reference/tidy_zero_truncated_binomial.html +++ b/docs/reference/tidy_zero_truncated_binomial.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_zero_truncated_geometric.html b/docs/reference/tidy_zero_truncated_geometric.html index 53109a98..6ff1d425 100644 --- a/docs/reference/tidy_zero_truncated_geometric.html +++ b/docs/reference/tidy_zero_truncated_geometric.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_zero_truncated_negative_binomial.html b/docs/reference/tidy_zero_truncated_negative_binomial.html index f76140db..98c8bf91 100644 --- a/docs/reference/tidy_zero_truncated_negative_binomial.html +++ b/docs/reference/tidy_zero_truncated_negative_binomial.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidy_zero_truncated_poisson.html b/docs/reference/tidy_zero_truncated_poisson.html index 25096230..b8cdc1d6 100644 --- a/docs/reference/tidy_zero_truncated_poisson.html +++ b/docs/reference/tidy_zero_truncated_poisson.html @@ -40,7 +40,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/tidyeval.html b/docs/reference/tidyeval.html index 2c6b4427..903a9f94 100644 --- a/docs/reference/tidyeval.html +++ b/docs/reference/tidyeval.html @@ -160,7 +160,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -257,8 +257,8 @@ data %>% summarise("{{ var }}_mean_{suffix}" := mean({{ var }})) } -Many tidy eval functions like dplyr::mutate() or -dplyr::summarise() give an automatic name to unnamed inputs. If +Many tidy eval functions like dplyr::mutate() or +dplyr::summarise() give an automatic name to unnamed inputs. If you need to create the same sort of automatic names by yourself, use as_label(). For instance, the glue-tunnelling syntax above can be reproduced manually with: diff --git a/docs/reference/triangle_plot.html b/docs/reference/triangle_plot.html index 7b479312..4939de86 100644 --- a/docs/reference/triangle_plot.html +++ b/docs/reference/triangle_plot.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_bernoulli_param_estimate.html b/docs/reference/util_bernoulli_param_estimate.html index e2f0e9e3..1d738618 100644 --- a/docs/reference/util_bernoulli_param_estimate.html +++ b/docs/reference/util_bernoulli_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -148,7 +148,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tb <- tidy_bernoulli(.prob = .1) |> pull(y) +tb <- tidy_bernoulli(.prob = .1) |> pull(y) output <- util_bernoulli_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_bernoulli_stats_tbl.html b/docs/reference/util_bernoulli_stats_tbl.html index 7e4feca8..70e68ae5 100644 --- a/docs/reference/util_bernoulli_stats_tbl.html +++ b/docs/reference/util_bernoulli_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_bernoulli() |> util_bernoulli_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_bernoulli" diff --git a/docs/reference/util_beta_aic.html b/docs/reference/util_beta_aic.html index a2c03b16..cf8f32d0 100644 --- a/docs/reference/util_beta_aic.html +++ b/docs/reference/util_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_beta_param_estimate.html b/docs/reference/util_beta_param_estimate.html index c407de4d..fdc7354b 100644 --- a/docs/reference/util_beta_param_estimate.html +++ b/docs/reference/util_beta_param_estimate.html @@ -34,7 +34,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_beta_stats_tbl.html b/docs/reference/util_beta_stats_tbl.html index 7a6c6575..c2965034 100644 --- a/docs/reference/util_beta_stats_tbl.html +++ b/docs/reference/util_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_beta() |> util_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_beta" diff --git a/docs/reference/util_binomial_aic.html b/docs/reference/util_binomial_aic.html index a631bc3c..7e49bb12 100644 --- a/docs/reference/util_binomial_aic.html +++ b/docs/reference/util_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_binomial_param_estimate.html b/docs/reference/util_binomial_param_estimate.html index 21e019a2..0d831c68 100644 --- a/docs/reference/util_binomial_param_estimate.html +++ b/docs/reference/util_binomial_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_binomial_stats_tbl.html b/docs/reference/util_binomial_stats_tbl.html index ea82ab43..7a921c2b 100644 --- a/docs/reference/util_binomial_stats_tbl.html +++ b/docs/reference/util_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -138,7 +138,7 @@ Examples tidy_binomial() |> util_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_binomial" diff --git a/docs/reference/util_burr_param_estimate.html b/docs/reference/util_burr_param_estimate.html index fa2fb199..0ecfdaa2 100644 --- a/docs/reference/util_burr_param_estimate.html +++ b/docs/reference/util_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_burr_stats_tbl.html b/docs/reference/util_burr_stats_tbl.html index 16da87f4..0b79ce90 100644 --- a/docs/reference/util_burr_stats_tbl.html +++ b/docs/reference/util_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_burr() |> util_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_burr" diff --git a/docs/reference/util_cauchy_aic.html b/docs/reference/util_cauchy_aic.html index 43a09f46..62addb6b 100644 --- a/docs/reference/util_cauchy_aic.html +++ b/docs/reference/util_cauchy_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_cauchy_param_estimate.html b/docs/reference/util_cauchy_param_estimate.html index 924d0017..89a80fb6 100644 --- a/docs/reference/util_cauchy_param_estimate.html +++ b/docs/reference/util_cauchy_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_cauchy_stats_tbl.html b/docs/reference/util_cauchy_stats_tbl.html index 1b910cd3..c22e2667 100644 --- a/docs/reference/util_cauchy_stats_tbl.html +++ b/docs/reference/util_cauchy_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_cauchy() |> util_cauchy_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_cauchy" diff --git a/docs/reference/util_chisq_aic.html b/docs/reference/util_chisq_aic.html index 7dfd92ef..4448ffbd 100644 --- a/docs/reference/util_chisq_aic.html +++ b/docs/reference/util_chisq_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_chisquare_param_estimate.html b/docs/reference/util_chisquare_param_estimate.html index a767d4cc..d8de3605 100644 --- a/docs/reference/util_chisquare_param_estimate.html +++ b/docs/reference/util_chisquare_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -185,7 +185,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) +tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) output <- util_chisquare_param_estimate(tc) #> Warning: NaNs produced #> Warning: NaNs produced diff --git a/docs/reference/util_chisquare_stats_tbl.html b/docs/reference/util_chisquare_stats_tbl.html index 938aef47..493d3248 100644 --- a/docs/reference/util_chisquare_stats_tbl.html +++ b/docs/reference/util_chisquare_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_chisquare() |> util_chisquare_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_chisquare" diff --git a/docs/reference/util_exponential_aic.html b/docs/reference/util_exponential_aic.html index 3e46c5e3..172c9e0b 100644 --- a/docs/reference/util_exponential_aic.html +++ b/docs/reference/util_exponential_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_exponential_param_estimate.html b/docs/reference/util_exponential_param_estimate.html index c5e2f465..6948d4c8 100644 --- a/docs/reference/util_exponential_param_estimate.html +++ b/docs/reference/util_exponential_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -te <- tidy_exponential(.rate = .1) |> pull(y) +te <- tidy_exponential(.rate = .1) |> pull(y) output <- util_exponential_param_estimate(te) output$parameter_tbl diff --git a/docs/reference/util_exponential_stats_tbl.html b/docs/reference/util_exponential_stats_tbl.html index 885b4759..cc4b3ca5 100644 --- a/docs/reference/util_exponential_stats_tbl.html +++ b/docs/reference/util_exponential_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_exponential() |> util_exponential_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_exponential" diff --git a/docs/reference/util_f_aic.html b/docs/reference/util_f_aic.html index e1cef1d1..af8f232e 100644 --- a/docs/reference/util_f_aic.html +++ b/docs/reference/util_f_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_param_estimate.html b/docs/reference/util_f_param_estimate.html index 7b8f835a..38e1dfe1 100644 --- a/docs/reference/util_f_param_estimate.html +++ b/docs/reference/util_f_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_stats_tbl.html b/docs/reference/util_f_stats_tbl.html index 90d9036b..a38c7774 100644 --- a/docs/reference/util_f_stats_tbl.html +++ b/docs/reference/util_f_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_f() |> util_f_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_f" diff --git a/docs/reference/util_gamma_aic.html b/docs/reference/util_gamma_aic.html index d1c71922..7bd78b4b 100644 --- a/docs/reference/util_gamma_aic.html +++ b/docs/reference/util_gamma_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_gamma_param_estimate.html b/docs/reference/util_gamma_param_estimate.html index 3ef9902b..a41d1709 100644 --- a/docs/reference/util_gamma_param_estimate.html +++ b/docs/reference/util_gamma_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) +tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) output <- util_gamma_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_gamma_stats_tbl.html b/docs/reference/util_gamma_stats_tbl.html index 9a6bf86e..d7d82a05 100644 --- a/docs/reference/util_gamma_stats_tbl.html +++ b/docs/reference/util_gamma_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_gamma() |> util_gamma_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gamma" diff --git a/docs/reference/util_generalized_beta_aic.html b/docs/reference/util_generalized_beta_aic.html index 8022a031..6fa91516 100644 --- a/docs/reference/util_generalized_beta_aic.html +++ b/docs/reference/util_generalized_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_param_estimate.html b/docs/reference/util_generalized_beta_param_estimate.html index e8f093c1..2529aa56 100644 --- a/docs/reference/util_generalized_beta_param_estimate.html +++ b/docs/reference/util_generalized_beta_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_stats_tbl.html b/docs/reference/util_generalized_beta_stats_tbl.html index e00568ad..dea691db 100644 --- a/docs/reference/util_generalized_beta_stats_tbl.html +++ b/docs/reference/util_generalized_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_generalized_beta() |> util_generalized_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_generalized_beta" diff --git a/docs/reference/util_generalized_pareto_aic.html b/docs/reference/util_generalized_pareto_aic.html index 40a5cd0f..ce6f9c15 100644 --- a/docs/reference/util_generalized_pareto_aic.html +++ b/docs/reference/util_generalized_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_param_estimate.html b/docs/reference/util_generalized_pareto_param_estimate.html index f4fe3056..d10bf881 100644 --- a/docs/reference/util_generalized_pareto_param_estimate.html +++ b/docs/reference/util_generalized_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_stats_tbl.html b/docs/reference/util_generalized_pareto_stats_tbl.html index 7f8c6536..ebb3841a 100644 --- a/docs/reference/util_generalized_pareto_stats_tbl.html +++ b/docs/reference/util_generalized_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_generalized_pareto() |> util_generalized_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_generalized_pareto" diff --git a/docs/reference/util_geometric_aic.html b/docs/reference/util_geometric_aic.html index 7c360a69..7f38d139 100644 --- a/docs/reference/util_geometric_aic.html +++ b/docs/reference/util_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_geometric_param_estimate.html b/docs/reference/util_geometric_param_estimate.html index 3b272589..74eabdf2 100644 --- a/docs/reference/util_geometric_param_estimate.html +++ b/docs/reference/util_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_geometric(.prob = .1) |> pull(y) +tg <- tidy_geometric(.prob = .1) |> pull(y) output <- util_geometric_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_geometric_stats_tbl.html b/docs/reference/util_geometric_stats_tbl.html index 80b52983..5129cc71 100644 --- a/docs/reference/util_geometric_stats_tbl.html +++ b/docs/reference/util_geometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_geometric() |> util_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_geometric" diff --git a/docs/reference/util_hypergeometric_aic.html b/docs/reference/util_hypergeometric_aic.html index 1e544454..bdd0e55f 100644 --- a/docs/reference/util_hypergeometric_aic.html +++ b/docs/reference/util_hypergeometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_param_estimate.html b/docs/reference/util_hypergeometric_param_estimate.html index cccff580..a1a28c71 100644 --- a/docs/reference/util_hypergeometric_param_estimate.html +++ b/docs/reference/util_hypergeometric_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_stats_tbl.html b/docs/reference/util_hypergeometric_stats_tbl.html index 00818380..22fe2b4c 100644 --- a/docs/reference/util_hypergeometric_stats_tbl.html +++ b/docs/reference/util_hypergeometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_hypergeometric() |> util_hypergeometric_stats_tbl() |> - glimpse() + glimpse() #> Warning: NaNs produced #> Rows: 1 #> Columns: 18 diff --git a/docs/reference/util_inverse_burr_aic.html b/docs/reference/util_inverse_burr_aic.html index f500f861..8a8076e8 100644 --- a/docs/reference/util_inverse_burr_aic.html +++ b/docs/reference/util_inverse_burr_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_burr_param_estimate.html b/docs/reference/util_inverse_burr_param_estimate.html index fc3c105c..9a853649 100644 --- a/docs/reference/util_inverse_burr_param_estimate.html +++ b/docs/reference/util_inverse_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -145,7 +145,7 @@ Exampleslibrary(ggplot2) set.seed(123) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_inverse_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_inverse_burr_stats_tbl.html b/docs/reference/util_inverse_burr_stats_tbl.html index e9bb22e8..bc87f727 100644 --- a/docs/reference/util_inverse_burr_stats_tbl.html +++ b/docs/reference/util_inverse_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_burr() |> util_inverse_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_burr" diff --git a/docs/reference/util_inverse_pareto_aic.html b/docs/reference/util_inverse_pareto_aic.html index 0aad6746..c6f7dcee 100644 --- a/docs/reference/util_inverse_pareto_aic.html +++ b/docs/reference/util_inverse_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_param_estimate.html b/docs/reference/util_inverse_pareto_param_estimate.html index de644c11..4fe55d96 100644 --- a/docs/reference/util_inverse_pareto_param_estimate.html +++ b/docs/reference/util_inverse_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_stats_tbl.html b/docs/reference/util_inverse_pareto_stats_tbl.html index dbe5a59a..d4d420c0 100644 --- a/docs/reference/util_inverse_pareto_stats_tbl.html +++ b/docs/reference/util_inverse_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_inverse_pareto() |> util_inverse_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_inverse_pareto" diff --git a/docs/reference/util_inverse_weibull_aic.html b/docs/reference/util_inverse_weibull_aic.html index 509b662d..04e3d466 100644 --- a/docs/reference/util_inverse_weibull_aic.html +++ b/docs/reference/util_inverse_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_param_estimate.html b/docs/reference/util_inverse_weibull_param_estimate.html index 634c9be2..cf8d02b3 100644 --- a/docs/reference/util_inverse_weibull_param_estimate.html +++ b/docs/reference/util_inverse_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_stats_tbl.html b/docs/reference/util_inverse_weibull_stats_tbl.html index 76a4d185..43f46c0c 100644 --- a/docs/reference/util_inverse_weibull_stats_tbl.html +++ b/docs/reference/util_inverse_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_weibull() |> util_inverse_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_weibull" diff --git a/docs/reference/util_logistic_aic.html b/docs/reference/util_logistic_aic.html index 941bad8c..559f2add 100644 --- a/docs/reference/util_logistic_aic.html +++ b/docs/reference/util_logistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_param_estimate.html b/docs/reference/util_logistic_param_estimate.html index a6f4e755..7a119848 100644 --- a/docs/reference/util_logistic_param_estimate.html +++ b/docs/reference/util_logistic_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_stats_tbl.html b/docs/reference/util_logistic_stats_tbl.html index 54096cc9..b9f2d63c 100644 --- a/docs/reference/util_logistic_stats_tbl.html +++ b/docs/reference/util_logistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_logistic() |> util_logistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_logistic" diff --git a/docs/reference/util_lognormal_aic.html b/docs/reference/util_lognormal_aic.html index ca5e00dd..27046f56 100644 --- a/docs/reference/util_lognormal_aic.html +++ b/docs/reference/util_lognormal_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_lognormal_param_estimate.html b/docs/reference/util_lognormal_param_estimate.html index dc9accc5..f1bade01 100644 --- a/docs/reference/util_lognormal_param_estimate.html +++ b/docs/reference/util_lognormal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -170,7 +170,7 @@ Examples tidy_combined_autoplot() -tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) +tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) util_lognormal_param_estimate(tb)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method mean_log sd_log shape_ratio diff --git a/docs/reference/util_lognormal_stats_tbl.html b/docs/reference/util_lognormal_stats_tbl.html index 80f5ac4d..da15ee4f 100644 --- a/docs/reference/util_lognormal_stats_tbl.html +++ b/docs/reference/util_lognormal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_lognormal() |> util_lognormal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_lognormal" diff --git a/docs/reference/util_negative_binomial_aic.html b/docs/reference/util_negative_binomial_aic.html index 8a39ec7e..33e42944 100644 --- a/docs/reference/util_negative_binomial_aic.html +++ b/docs/reference/util_negative_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_param_estimate.html b/docs/reference/util_negative_binomial_param_estimate.html index 967f2730..288ed4f0 100644 --- a/docs/reference/util_negative_binomial_param_estimate.html +++ b/docs/reference/util_negative_binomial_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_stats_tbl.html b/docs/reference/util_negative_binomial_stats_tbl.html index 13a3f691..e76734a7 100644 --- a/docs/reference/util_negative_binomial_stats_tbl.html +++ b/docs/reference/util_negative_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_negative_binomial() |> util_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_negative_binomial" diff --git a/docs/reference/util_normal_aic.html b/docs/reference/util_normal_aic.html index 546bbde2..6ff1ac68 100644 --- a/docs/reference/util_normal_aic.html +++ b/docs/reference/util_normal_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_param_estimate.html b/docs/reference/util_normal_param_estimate.html index e418d51a..dae9b6dc 100644 --- a/docs/reference/util_normal_param_estimate.html +++ b/docs/reference/util_normal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_stats_tbl.html b/docs/reference/util_normal_stats_tbl.html index b48be3df..d8930f0b 100644 --- a/docs/reference/util_normal_stats_tbl.html +++ b/docs/reference/util_normal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_normal() |> util_normal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gaussian" diff --git a/docs/reference/util_paralogistic_aic.html b/docs/reference/util_paralogistic_aic.html index 725f9635..4d44d4aa 100644 --- a/docs/reference/util_paralogistic_aic.html +++ b/docs/reference/util_paralogistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_param_estimate.html b/docs/reference/util_paralogistic_param_estimate.html index 1105e989..87fb964c 100644 --- a/docs/reference/util_paralogistic_param_estimate.html +++ b/docs/reference/util_paralogistic_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_stats_tbl.html b/docs/reference/util_paralogistic_stats_tbl.html index 8de9ab8a..118a2734 100644 --- a/docs/reference/util_paralogistic_stats_tbl.html +++ b/docs/reference/util_paralogistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -127,7 +127,7 @@ Examplesset.seed(123) tidy_paralogistic(.n = 50, .shape = 5, .rate = 6) |> util_paralogistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_paralogistic" diff --git a/docs/reference/util_pareto1_aic.html b/docs/reference/util_pareto1_aic.html index 30bb2a2d..06c382ae 100644 --- a/docs/reference/util_pareto1_aic.html +++ b/docs/reference/util_pareto1_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_param_estimate.html b/docs/reference/util_pareto1_param_estimate.html index be47ebdf..512d9c44 100644 --- a/docs/reference/util_pareto1_param_estimate.html +++ b/docs/reference/util_pareto1_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_stats_tbl.html b/docs/reference/util_pareto1_stats_tbl.html index 264cb79e..1654f253 100644 --- a/docs/reference/util_pareto1_stats_tbl.html +++ b/docs/reference/util_pareto1_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -132,7 +132,7 @@ Examples tidy_pareto1() |> util_pareto1_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto_single_parameter" diff --git a/docs/reference/util_pareto_aic.html b/docs/reference/util_pareto_aic.html index 3935513d..a459a584 100644 --- a/docs/reference/util_pareto_aic.html +++ b/docs/reference/util_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto_param_estimate.html b/docs/reference/util_pareto_param_estimate.html index b166c8af..7f508e5f 100644 --- a/docs/reference/util_pareto_param_estimate.html +++ b/docs/reference/util_pareto_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -176,7 +176,7 @@ Examples tidy_combined_autoplot() -t <- tidy_pareto(50, 1, 1) |> pull(y) +t <- tidy_pareto(50, 1, 1) |> pull(y) util_pareto_param_estimate(t)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method shape scale shape_ratio diff --git a/docs/reference/util_pareto_stats_tbl.html b/docs/reference/util_pareto_stats_tbl.html index fed5d901..e89c5040 100644 --- a/docs/reference/util_pareto_stats_tbl.html +++ b/docs/reference/util_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -136,7 +136,7 @@ Examples tidy_pareto() |> util_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto" diff --git a/docs/reference/util_poisson_aic.html b/docs/reference/util_poisson_aic.html index 7b2241f9..3b66ed50 100644 --- a/docs/reference/util_poisson_aic.html +++ b/docs/reference/util_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_param_estimate.html b/docs/reference/util_poisson_param_estimate.html index c27b7a88..b7009711 100644 --- a/docs/reference/util_poisson_param_estimate.html +++ b/docs/reference/util_poisson_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_stats_tbl.html b/docs/reference/util_poisson_stats_tbl.html index 16037c48..f4f2536e 100644 --- a/docs/reference/util_poisson_stats_tbl.html +++ b/docs/reference/util_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_poisson() |> util_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_poisson" diff --git a/docs/reference/util_t_aic.html b/docs/reference/util_t_aic.html index 8a7d7172..07cf2841 100644 --- a/docs/reference/util_t_aic.html +++ b/docs/reference/util_t_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_param_estimate.html b/docs/reference/util_t_param_estimate.html index 07caed12..e87c9558 100644 --- a/docs/reference/util_t_param_estimate.html +++ b/docs/reference/util_t_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_stats_tbl.html b/docs/reference/util_t_stats_tbl.html index 2eb8e3ef..d83e1f68 100644 --- a/docs/reference/util_t_stats_tbl.html +++ b/docs/reference/util_t_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_t() |> util_t_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_t" diff --git a/docs/reference/util_triangular_aic.html b/docs/reference/util_triangular_aic.html index 1c99bf53..84bef91e 100644 --- a/docs/reference/util_triangular_aic.html +++ b/docs/reference/util_triangular_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_param_estimate.html b/docs/reference/util_triangular_param_estimate.html index b6451547..0fd09750 100644 --- a/docs/reference/util_triangular_param_estimate.html +++ b/docs/reference/util_triangular_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_stats_tbl.html b/docs/reference/util_triangular_stats_tbl.html index 9c2e0eff..5563bc9a 100644 --- a/docs/reference/util_triangular_stats_tbl.html +++ b/docs/reference/util_triangular_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_triangular() |> util_triangular_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 19 #> $ tidy_function <chr> "tidy_triangular" diff --git a/docs/reference/util_uniform_aic.html b/docs/reference/util_uniform_aic.html index 6359b650..aca76de7 100644 --- a/docs/reference/util_uniform_aic.html +++ b/docs/reference/util_uniform_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_param_estimate.html b/docs/reference/util_uniform_param_estimate.html index 334cc677..cc5739da 100644 --- a/docs/reference/util_uniform_param_estimate.html +++ b/docs/reference/util_uniform_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_stats_tbl.html b/docs/reference/util_uniform_stats_tbl.html index 50ad2965..631b091e 100644 --- a/docs/reference/util_uniform_stats_tbl.html +++ b/docs/reference/util_uniform_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_uniform() |> util_uniform_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_uniform" diff --git a/docs/reference/util_weibull_aic.html b/docs/reference/util_weibull_aic.html index 37c5a74f..24b4911d 100644 --- a/docs/reference/util_weibull_aic.html +++ b/docs/reference/util_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_param_estimate.html b/docs/reference/util_weibull_param_estimate.html index 00ba0d39..da957364 100644 --- a/docs/reference/util_weibull_param_estimate.html +++ b/docs/reference/util_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_stats_tbl.html b/docs/reference/util_weibull_stats_tbl.html index 8ffd84fe..6a13d26e 100644 --- a/docs/reference/util_weibull_stats_tbl.html +++ b/docs/reference/util_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_weibull() |> util_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_weibull" diff --git a/docs/reference/util_zero_truncated_binomial_aic.html b/docs/reference/util_zero_truncated_binomial_aic.html index f6d7dfd9..600102c0 100644 --- a/docs/reference/util_zero_truncated_binomial_aic.html +++ b/docs/reference/util_zero_truncated_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_param_estimate.html b/docs/reference/util_zero_truncated_binomial_param_estimate.html index 4ac5326d..ed97e23a 100644 --- a/docs/reference/util_zero_truncated_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_binomial_stats_tbl.html index 80543200..ac268042 100644 --- a/docs/reference/util_zero_truncated_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -135,7 +135,7 @@ Examplesset.seed(123) tidy_zero_truncated_binomial(.size = 10, .prob = 0.1) |> util_zero_truncated_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 15 #> $ tidy_function <chr> "tidy_zero_truncated_binomial" diff --git a/docs/reference/util_zero_truncated_geometric_aic.html b/docs/reference/util_zero_truncated_geometric_aic.html index 97009878..de15aa06 100644 --- a/docs/reference/util_zero_truncated_geometric_aic.html +++ b/docs/reference/util_zero_truncated_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_param_estimate.html b/docs/reference/util_zero_truncated_geometric_param_estimate.html index 5f861c2e..81f29889 100644 --- a/docs/reference/util_zero_truncated_geometric_param_estimate.html +++ b/docs/reference/util_zero_truncated_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_stats_tbl.html b/docs/reference/util_zero_truncated_geometric_stats_tbl.html index 7ff2e70a..05a904fd 100644 --- a/docs/reference/util_zero_truncated_geometric_stats_tbl.html +++ b/docs/reference/util_zero_truncated_geometric_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_zero_truncated_geometric(.prob = 0.1) |> util_zero_truncated_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_geometric" diff --git a/docs/reference/util_zero_truncated_negative_binomial_aic.html b/docs/reference/util_zero_truncated_negative_binomial_aic.html index b4bc9746..70458756 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_aic.html +++ b/docs/reference/util_zero_truncated_negative_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html index f7a1b138..99bcce0c 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html index c6ad3dae..0a119a83 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -142,7 +142,7 @@ Examples tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |> util_zero_truncated_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_negative_binomial" diff --git a/docs/reference/util_zero_truncated_poisson_aic.html b/docs/reference/util_zero_truncated_poisson_aic.html index fa8ed9b8..066dde32 100644 --- a/docs/reference/util_zero_truncated_poisson_aic.html +++ b/docs/reference/util_zero_truncated_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_poisson_param_estimate.html b/docs/reference/util_zero_truncated_poisson_param_estimate.html index 3befee1c..0556ae01 100644 --- a/docs/reference/util_zero_truncated_poisson_param_estimate.html +++ b/docs/reference/util_zero_truncated_poisson_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -172,7 +172,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>
CRAN release: 2024-05-28
None
util_negative_binomial_aic()
util_zero_truncated_negative_binomial_param_estimate()
util_zero_truncated_negative_binomial_aic()
util_zero_truncated_negative_binomial_stats_tbl()
util_zero_truncated_poisson_param_estimate()
util_zero_truncated_poisson_aic()
util_zero_truncated_poisson_stats_tbl()
util_zero_truncated_binomial_stats_tbl()
util_zero_truncated_binomial_param_estimate()
util_zero_truncated_binomial_aic()
util_negative_binomial_param_estimate()
optim()
.return_tibble = TRUE
quantile_normalize()
cvar()
csd()
tidy_
data.table
dplyr::cur_data()
dplyr::pick()
tidy_triangular()
tidy_multi_dist_autoplot()
.plot_type = "quantile"
A function to return the cumulative mean of a vector. It uses dplyr::cummean() +
dplyr::cummean()
A function to return the cumulative mean of a vector. It uses dplyr::cummean() as the basis of the function.
dplyr::select()
This is the grouping variable that gets passed to dplyr::group_by() +and dplyr::select().
dplyr::group_by()
Many tidy eval functions like dplyr::mutate() or -dplyr::summarise() give an automatic name to unnamed inputs. If +
dplyr::mutate()
dplyr::summarise()
Many tidy eval functions like dplyr::mutate() or +dplyr::summarise() give an automatic name to unnamed inputs. If you need to create the same sort of automatic names by yourself, use as_label(). For instance, the glue-tunnelling syntax above can be reproduced manually with:
as_label()
library(dplyr) library(ggplot2) -tb <- tidy_bernoulli(.prob = .1) |> pull(y) +tb <- tidy_bernoulli(.prob = .1) |> pull(y) output <- util_bernoulli_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_bernoulli_stats_tbl.html b/docs/reference/util_bernoulli_stats_tbl.html index 7e4feca8..70e68ae5 100644 --- a/docs/reference/util_bernoulli_stats_tbl.html +++ b/docs/reference/util_bernoulli_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_bernoulli() |> util_bernoulli_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_bernoulli" diff --git a/docs/reference/util_beta_aic.html b/docs/reference/util_beta_aic.html index a2c03b16..cf8f32d0 100644 --- a/docs/reference/util_beta_aic.html +++ b/docs/reference/util_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_beta_param_estimate.html b/docs/reference/util_beta_param_estimate.html index c407de4d..fdc7354b 100644 --- a/docs/reference/util_beta_param_estimate.html +++ b/docs/reference/util_beta_param_estimate.html @@ -34,7 +34,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_beta_stats_tbl.html b/docs/reference/util_beta_stats_tbl.html index 7a6c6575..c2965034 100644 --- a/docs/reference/util_beta_stats_tbl.html +++ b/docs/reference/util_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_beta() |> util_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_beta" diff --git a/docs/reference/util_binomial_aic.html b/docs/reference/util_binomial_aic.html index a631bc3c..7e49bb12 100644 --- a/docs/reference/util_binomial_aic.html +++ b/docs/reference/util_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_binomial_param_estimate.html b/docs/reference/util_binomial_param_estimate.html index 21e019a2..0d831c68 100644 --- a/docs/reference/util_binomial_param_estimate.html +++ b/docs/reference/util_binomial_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_binomial_stats_tbl.html b/docs/reference/util_binomial_stats_tbl.html index ea82ab43..7a921c2b 100644 --- a/docs/reference/util_binomial_stats_tbl.html +++ b/docs/reference/util_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -138,7 +138,7 @@ Examples tidy_binomial() |> util_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_binomial" diff --git a/docs/reference/util_burr_param_estimate.html b/docs/reference/util_burr_param_estimate.html index fa2fb199..0ecfdaa2 100644 --- a/docs/reference/util_burr_param_estimate.html +++ b/docs/reference/util_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_burr_stats_tbl.html b/docs/reference/util_burr_stats_tbl.html index 16da87f4..0b79ce90 100644 --- a/docs/reference/util_burr_stats_tbl.html +++ b/docs/reference/util_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_burr() |> util_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_burr" diff --git a/docs/reference/util_cauchy_aic.html b/docs/reference/util_cauchy_aic.html index 43a09f46..62addb6b 100644 --- a/docs/reference/util_cauchy_aic.html +++ b/docs/reference/util_cauchy_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_cauchy_param_estimate.html b/docs/reference/util_cauchy_param_estimate.html index 924d0017..89a80fb6 100644 --- a/docs/reference/util_cauchy_param_estimate.html +++ b/docs/reference/util_cauchy_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_cauchy_stats_tbl.html b/docs/reference/util_cauchy_stats_tbl.html index 1b910cd3..c22e2667 100644 --- a/docs/reference/util_cauchy_stats_tbl.html +++ b/docs/reference/util_cauchy_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_cauchy() |> util_cauchy_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_cauchy" diff --git a/docs/reference/util_chisq_aic.html b/docs/reference/util_chisq_aic.html index 7dfd92ef..4448ffbd 100644 --- a/docs/reference/util_chisq_aic.html +++ b/docs/reference/util_chisq_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_chisquare_param_estimate.html b/docs/reference/util_chisquare_param_estimate.html index a767d4cc..d8de3605 100644 --- a/docs/reference/util_chisquare_param_estimate.html +++ b/docs/reference/util_chisquare_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -185,7 +185,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) +tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) output <- util_chisquare_param_estimate(tc) #> Warning: NaNs produced #> Warning: NaNs produced diff --git a/docs/reference/util_chisquare_stats_tbl.html b/docs/reference/util_chisquare_stats_tbl.html index 938aef47..493d3248 100644 --- a/docs/reference/util_chisquare_stats_tbl.html +++ b/docs/reference/util_chisquare_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_chisquare() |> util_chisquare_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_chisquare" diff --git a/docs/reference/util_exponential_aic.html b/docs/reference/util_exponential_aic.html index 3e46c5e3..172c9e0b 100644 --- a/docs/reference/util_exponential_aic.html +++ b/docs/reference/util_exponential_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_exponential_param_estimate.html b/docs/reference/util_exponential_param_estimate.html index c5e2f465..6948d4c8 100644 --- a/docs/reference/util_exponential_param_estimate.html +++ b/docs/reference/util_exponential_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -te <- tidy_exponential(.rate = .1) |> pull(y) +te <- tidy_exponential(.rate = .1) |> pull(y) output <- util_exponential_param_estimate(te) output$parameter_tbl diff --git a/docs/reference/util_exponential_stats_tbl.html b/docs/reference/util_exponential_stats_tbl.html index 885b4759..cc4b3ca5 100644 --- a/docs/reference/util_exponential_stats_tbl.html +++ b/docs/reference/util_exponential_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_exponential() |> util_exponential_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_exponential" diff --git a/docs/reference/util_f_aic.html b/docs/reference/util_f_aic.html index e1cef1d1..af8f232e 100644 --- a/docs/reference/util_f_aic.html +++ b/docs/reference/util_f_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_param_estimate.html b/docs/reference/util_f_param_estimate.html index 7b8f835a..38e1dfe1 100644 --- a/docs/reference/util_f_param_estimate.html +++ b/docs/reference/util_f_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_stats_tbl.html b/docs/reference/util_f_stats_tbl.html index 90d9036b..a38c7774 100644 --- a/docs/reference/util_f_stats_tbl.html +++ b/docs/reference/util_f_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_f() |> util_f_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_f" diff --git a/docs/reference/util_gamma_aic.html b/docs/reference/util_gamma_aic.html index d1c71922..7bd78b4b 100644 --- a/docs/reference/util_gamma_aic.html +++ b/docs/reference/util_gamma_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_gamma_param_estimate.html b/docs/reference/util_gamma_param_estimate.html index 3ef9902b..a41d1709 100644 --- a/docs/reference/util_gamma_param_estimate.html +++ b/docs/reference/util_gamma_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) +tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) output <- util_gamma_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_gamma_stats_tbl.html b/docs/reference/util_gamma_stats_tbl.html index 9a6bf86e..d7d82a05 100644 --- a/docs/reference/util_gamma_stats_tbl.html +++ b/docs/reference/util_gamma_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_gamma() |> util_gamma_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gamma" diff --git a/docs/reference/util_generalized_beta_aic.html b/docs/reference/util_generalized_beta_aic.html index 8022a031..6fa91516 100644 --- a/docs/reference/util_generalized_beta_aic.html +++ b/docs/reference/util_generalized_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_param_estimate.html b/docs/reference/util_generalized_beta_param_estimate.html index e8f093c1..2529aa56 100644 --- a/docs/reference/util_generalized_beta_param_estimate.html +++ b/docs/reference/util_generalized_beta_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_stats_tbl.html b/docs/reference/util_generalized_beta_stats_tbl.html index e00568ad..dea691db 100644 --- a/docs/reference/util_generalized_beta_stats_tbl.html +++ b/docs/reference/util_generalized_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_generalized_beta() |> util_generalized_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_generalized_beta" diff --git a/docs/reference/util_generalized_pareto_aic.html b/docs/reference/util_generalized_pareto_aic.html index 40a5cd0f..ce6f9c15 100644 --- a/docs/reference/util_generalized_pareto_aic.html +++ b/docs/reference/util_generalized_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_param_estimate.html b/docs/reference/util_generalized_pareto_param_estimate.html index f4fe3056..d10bf881 100644 --- a/docs/reference/util_generalized_pareto_param_estimate.html +++ b/docs/reference/util_generalized_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_stats_tbl.html b/docs/reference/util_generalized_pareto_stats_tbl.html index 7f8c6536..ebb3841a 100644 --- a/docs/reference/util_generalized_pareto_stats_tbl.html +++ b/docs/reference/util_generalized_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_generalized_pareto() |> util_generalized_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_generalized_pareto" diff --git a/docs/reference/util_geometric_aic.html b/docs/reference/util_geometric_aic.html index 7c360a69..7f38d139 100644 --- a/docs/reference/util_geometric_aic.html +++ b/docs/reference/util_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_geometric_param_estimate.html b/docs/reference/util_geometric_param_estimate.html index 3b272589..74eabdf2 100644 --- a/docs/reference/util_geometric_param_estimate.html +++ b/docs/reference/util_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_geometric(.prob = .1) |> pull(y) +tg <- tidy_geometric(.prob = .1) |> pull(y) output <- util_geometric_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_geometric_stats_tbl.html b/docs/reference/util_geometric_stats_tbl.html index 80b52983..5129cc71 100644 --- a/docs/reference/util_geometric_stats_tbl.html +++ b/docs/reference/util_geometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_geometric() |> util_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_geometric" diff --git a/docs/reference/util_hypergeometric_aic.html b/docs/reference/util_hypergeometric_aic.html index 1e544454..bdd0e55f 100644 --- a/docs/reference/util_hypergeometric_aic.html +++ b/docs/reference/util_hypergeometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_param_estimate.html b/docs/reference/util_hypergeometric_param_estimate.html index cccff580..a1a28c71 100644 --- a/docs/reference/util_hypergeometric_param_estimate.html +++ b/docs/reference/util_hypergeometric_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_stats_tbl.html b/docs/reference/util_hypergeometric_stats_tbl.html index 00818380..22fe2b4c 100644 --- a/docs/reference/util_hypergeometric_stats_tbl.html +++ b/docs/reference/util_hypergeometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_hypergeometric() |> util_hypergeometric_stats_tbl() |> - glimpse() + glimpse() #> Warning: NaNs produced #> Rows: 1 #> Columns: 18 diff --git a/docs/reference/util_inverse_burr_aic.html b/docs/reference/util_inverse_burr_aic.html index f500f861..8a8076e8 100644 --- a/docs/reference/util_inverse_burr_aic.html +++ b/docs/reference/util_inverse_burr_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_burr_param_estimate.html b/docs/reference/util_inverse_burr_param_estimate.html index fc3c105c..9a853649 100644 --- a/docs/reference/util_inverse_burr_param_estimate.html +++ b/docs/reference/util_inverse_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -145,7 +145,7 @@ Exampleslibrary(ggplot2) set.seed(123) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_inverse_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_inverse_burr_stats_tbl.html b/docs/reference/util_inverse_burr_stats_tbl.html index e9bb22e8..bc87f727 100644 --- a/docs/reference/util_inverse_burr_stats_tbl.html +++ b/docs/reference/util_inverse_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_burr() |> util_inverse_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_burr" diff --git a/docs/reference/util_inverse_pareto_aic.html b/docs/reference/util_inverse_pareto_aic.html index 0aad6746..c6f7dcee 100644 --- a/docs/reference/util_inverse_pareto_aic.html +++ b/docs/reference/util_inverse_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_param_estimate.html b/docs/reference/util_inverse_pareto_param_estimate.html index de644c11..4fe55d96 100644 --- a/docs/reference/util_inverse_pareto_param_estimate.html +++ b/docs/reference/util_inverse_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_stats_tbl.html b/docs/reference/util_inverse_pareto_stats_tbl.html index dbe5a59a..d4d420c0 100644 --- a/docs/reference/util_inverse_pareto_stats_tbl.html +++ b/docs/reference/util_inverse_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_inverse_pareto() |> util_inverse_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_inverse_pareto" diff --git a/docs/reference/util_inverse_weibull_aic.html b/docs/reference/util_inverse_weibull_aic.html index 509b662d..04e3d466 100644 --- a/docs/reference/util_inverse_weibull_aic.html +++ b/docs/reference/util_inverse_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_param_estimate.html b/docs/reference/util_inverse_weibull_param_estimate.html index 634c9be2..cf8d02b3 100644 --- a/docs/reference/util_inverse_weibull_param_estimate.html +++ b/docs/reference/util_inverse_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_stats_tbl.html b/docs/reference/util_inverse_weibull_stats_tbl.html index 76a4d185..43f46c0c 100644 --- a/docs/reference/util_inverse_weibull_stats_tbl.html +++ b/docs/reference/util_inverse_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_weibull() |> util_inverse_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_weibull" diff --git a/docs/reference/util_logistic_aic.html b/docs/reference/util_logistic_aic.html index 941bad8c..559f2add 100644 --- a/docs/reference/util_logistic_aic.html +++ b/docs/reference/util_logistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_param_estimate.html b/docs/reference/util_logistic_param_estimate.html index a6f4e755..7a119848 100644 --- a/docs/reference/util_logistic_param_estimate.html +++ b/docs/reference/util_logistic_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_stats_tbl.html b/docs/reference/util_logistic_stats_tbl.html index 54096cc9..b9f2d63c 100644 --- a/docs/reference/util_logistic_stats_tbl.html +++ b/docs/reference/util_logistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_logistic() |> util_logistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_logistic" diff --git a/docs/reference/util_lognormal_aic.html b/docs/reference/util_lognormal_aic.html index ca5e00dd..27046f56 100644 --- a/docs/reference/util_lognormal_aic.html +++ b/docs/reference/util_lognormal_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_lognormal_param_estimate.html b/docs/reference/util_lognormal_param_estimate.html index dc9accc5..f1bade01 100644 --- a/docs/reference/util_lognormal_param_estimate.html +++ b/docs/reference/util_lognormal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -170,7 +170,7 @@ Examples tidy_combined_autoplot() -tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) +tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) util_lognormal_param_estimate(tb)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method mean_log sd_log shape_ratio diff --git a/docs/reference/util_lognormal_stats_tbl.html b/docs/reference/util_lognormal_stats_tbl.html index 80f5ac4d..da15ee4f 100644 --- a/docs/reference/util_lognormal_stats_tbl.html +++ b/docs/reference/util_lognormal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_lognormal() |> util_lognormal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_lognormal" diff --git a/docs/reference/util_negative_binomial_aic.html b/docs/reference/util_negative_binomial_aic.html index 8a39ec7e..33e42944 100644 --- a/docs/reference/util_negative_binomial_aic.html +++ b/docs/reference/util_negative_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_param_estimate.html b/docs/reference/util_negative_binomial_param_estimate.html index 967f2730..288ed4f0 100644 --- a/docs/reference/util_negative_binomial_param_estimate.html +++ b/docs/reference/util_negative_binomial_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_stats_tbl.html b/docs/reference/util_negative_binomial_stats_tbl.html index 13a3f691..e76734a7 100644 --- a/docs/reference/util_negative_binomial_stats_tbl.html +++ b/docs/reference/util_negative_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_negative_binomial() |> util_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_negative_binomial" diff --git a/docs/reference/util_normal_aic.html b/docs/reference/util_normal_aic.html index 546bbde2..6ff1ac68 100644 --- a/docs/reference/util_normal_aic.html +++ b/docs/reference/util_normal_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_param_estimate.html b/docs/reference/util_normal_param_estimate.html index e418d51a..dae9b6dc 100644 --- a/docs/reference/util_normal_param_estimate.html +++ b/docs/reference/util_normal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_stats_tbl.html b/docs/reference/util_normal_stats_tbl.html index b48be3df..d8930f0b 100644 --- a/docs/reference/util_normal_stats_tbl.html +++ b/docs/reference/util_normal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_normal() |> util_normal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gaussian" diff --git a/docs/reference/util_paralogistic_aic.html b/docs/reference/util_paralogistic_aic.html index 725f9635..4d44d4aa 100644 --- a/docs/reference/util_paralogistic_aic.html +++ b/docs/reference/util_paralogistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_param_estimate.html b/docs/reference/util_paralogistic_param_estimate.html index 1105e989..87fb964c 100644 --- a/docs/reference/util_paralogistic_param_estimate.html +++ b/docs/reference/util_paralogistic_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_stats_tbl.html b/docs/reference/util_paralogistic_stats_tbl.html index 8de9ab8a..118a2734 100644 --- a/docs/reference/util_paralogistic_stats_tbl.html +++ b/docs/reference/util_paralogistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -127,7 +127,7 @@ Examplesset.seed(123) tidy_paralogistic(.n = 50, .shape = 5, .rate = 6) |> util_paralogistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_paralogistic" diff --git a/docs/reference/util_pareto1_aic.html b/docs/reference/util_pareto1_aic.html index 30bb2a2d..06c382ae 100644 --- a/docs/reference/util_pareto1_aic.html +++ b/docs/reference/util_pareto1_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_param_estimate.html b/docs/reference/util_pareto1_param_estimate.html index be47ebdf..512d9c44 100644 --- a/docs/reference/util_pareto1_param_estimate.html +++ b/docs/reference/util_pareto1_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_stats_tbl.html b/docs/reference/util_pareto1_stats_tbl.html index 264cb79e..1654f253 100644 --- a/docs/reference/util_pareto1_stats_tbl.html +++ b/docs/reference/util_pareto1_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -132,7 +132,7 @@ Examples tidy_pareto1() |> util_pareto1_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto_single_parameter" diff --git a/docs/reference/util_pareto_aic.html b/docs/reference/util_pareto_aic.html index 3935513d..a459a584 100644 --- a/docs/reference/util_pareto_aic.html +++ b/docs/reference/util_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto_param_estimate.html b/docs/reference/util_pareto_param_estimate.html index b166c8af..7f508e5f 100644 --- a/docs/reference/util_pareto_param_estimate.html +++ b/docs/reference/util_pareto_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -176,7 +176,7 @@ Examples tidy_combined_autoplot() -t <- tidy_pareto(50, 1, 1) |> pull(y) +t <- tidy_pareto(50, 1, 1) |> pull(y) util_pareto_param_estimate(t)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method shape scale shape_ratio diff --git a/docs/reference/util_pareto_stats_tbl.html b/docs/reference/util_pareto_stats_tbl.html index fed5d901..e89c5040 100644 --- a/docs/reference/util_pareto_stats_tbl.html +++ b/docs/reference/util_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -136,7 +136,7 @@ Examples tidy_pareto() |> util_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto" diff --git a/docs/reference/util_poisson_aic.html b/docs/reference/util_poisson_aic.html index 7b2241f9..3b66ed50 100644 --- a/docs/reference/util_poisson_aic.html +++ b/docs/reference/util_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_param_estimate.html b/docs/reference/util_poisson_param_estimate.html index c27b7a88..b7009711 100644 --- a/docs/reference/util_poisson_param_estimate.html +++ b/docs/reference/util_poisson_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_stats_tbl.html b/docs/reference/util_poisson_stats_tbl.html index 16037c48..f4f2536e 100644 --- a/docs/reference/util_poisson_stats_tbl.html +++ b/docs/reference/util_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_poisson() |> util_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_poisson" diff --git a/docs/reference/util_t_aic.html b/docs/reference/util_t_aic.html index 8a7d7172..07cf2841 100644 --- a/docs/reference/util_t_aic.html +++ b/docs/reference/util_t_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_param_estimate.html b/docs/reference/util_t_param_estimate.html index 07caed12..e87c9558 100644 --- a/docs/reference/util_t_param_estimate.html +++ b/docs/reference/util_t_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_stats_tbl.html b/docs/reference/util_t_stats_tbl.html index 2eb8e3ef..d83e1f68 100644 --- a/docs/reference/util_t_stats_tbl.html +++ b/docs/reference/util_t_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_t() |> util_t_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_t" diff --git a/docs/reference/util_triangular_aic.html b/docs/reference/util_triangular_aic.html index 1c99bf53..84bef91e 100644 --- a/docs/reference/util_triangular_aic.html +++ b/docs/reference/util_triangular_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_param_estimate.html b/docs/reference/util_triangular_param_estimate.html index b6451547..0fd09750 100644 --- a/docs/reference/util_triangular_param_estimate.html +++ b/docs/reference/util_triangular_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_stats_tbl.html b/docs/reference/util_triangular_stats_tbl.html index 9c2e0eff..5563bc9a 100644 --- a/docs/reference/util_triangular_stats_tbl.html +++ b/docs/reference/util_triangular_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_triangular() |> util_triangular_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 19 #> $ tidy_function <chr> "tidy_triangular" diff --git a/docs/reference/util_uniform_aic.html b/docs/reference/util_uniform_aic.html index 6359b650..aca76de7 100644 --- a/docs/reference/util_uniform_aic.html +++ b/docs/reference/util_uniform_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_param_estimate.html b/docs/reference/util_uniform_param_estimate.html index 334cc677..cc5739da 100644 --- a/docs/reference/util_uniform_param_estimate.html +++ b/docs/reference/util_uniform_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_stats_tbl.html b/docs/reference/util_uniform_stats_tbl.html index 50ad2965..631b091e 100644 --- a/docs/reference/util_uniform_stats_tbl.html +++ b/docs/reference/util_uniform_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_uniform() |> util_uniform_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_uniform" diff --git a/docs/reference/util_weibull_aic.html b/docs/reference/util_weibull_aic.html index 37c5a74f..24b4911d 100644 --- a/docs/reference/util_weibull_aic.html +++ b/docs/reference/util_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_param_estimate.html b/docs/reference/util_weibull_param_estimate.html index 00ba0d39..da957364 100644 --- a/docs/reference/util_weibull_param_estimate.html +++ b/docs/reference/util_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_stats_tbl.html b/docs/reference/util_weibull_stats_tbl.html index 8ffd84fe..6a13d26e 100644 --- a/docs/reference/util_weibull_stats_tbl.html +++ b/docs/reference/util_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_weibull() |> util_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_weibull" diff --git a/docs/reference/util_zero_truncated_binomial_aic.html b/docs/reference/util_zero_truncated_binomial_aic.html index f6d7dfd9..600102c0 100644 --- a/docs/reference/util_zero_truncated_binomial_aic.html +++ b/docs/reference/util_zero_truncated_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_param_estimate.html b/docs/reference/util_zero_truncated_binomial_param_estimate.html index 4ac5326d..ed97e23a 100644 --- a/docs/reference/util_zero_truncated_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_binomial_stats_tbl.html index 80543200..ac268042 100644 --- a/docs/reference/util_zero_truncated_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -135,7 +135,7 @@ Examplesset.seed(123) tidy_zero_truncated_binomial(.size = 10, .prob = 0.1) |> util_zero_truncated_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 15 #> $ tidy_function <chr> "tidy_zero_truncated_binomial" diff --git a/docs/reference/util_zero_truncated_geometric_aic.html b/docs/reference/util_zero_truncated_geometric_aic.html index 97009878..de15aa06 100644 --- a/docs/reference/util_zero_truncated_geometric_aic.html +++ b/docs/reference/util_zero_truncated_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_param_estimate.html b/docs/reference/util_zero_truncated_geometric_param_estimate.html index 5f861c2e..81f29889 100644 --- a/docs/reference/util_zero_truncated_geometric_param_estimate.html +++ b/docs/reference/util_zero_truncated_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_stats_tbl.html b/docs/reference/util_zero_truncated_geometric_stats_tbl.html index 7ff2e70a..05a904fd 100644 --- a/docs/reference/util_zero_truncated_geometric_stats_tbl.html +++ b/docs/reference/util_zero_truncated_geometric_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_zero_truncated_geometric(.prob = 0.1) |> util_zero_truncated_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_geometric" diff --git a/docs/reference/util_zero_truncated_negative_binomial_aic.html b/docs/reference/util_zero_truncated_negative_binomial_aic.html index b4bc9746..70458756 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_aic.html +++ b/docs/reference/util_zero_truncated_negative_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html index f7a1b138..99bcce0c 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html index c6ad3dae..0a119a83 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -142,7 +142,7 @@ Examples tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |> util_zero_truncated_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_negative_binomial" diff --git a/docs/reference/util_zero_truncated_poisson_aic.html b/docs/reference/util_zero_truncated_poisson_aic.html index fa8ed9b8..066dde32 100644 --- a/docs/reference/util_zero_truncated_poisson_aic.html +++ b/docs/reference/util_zero_truncated_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_poisson_param_estimate.html b/docs/reference/util_zero_truncated_poisson_param_estimate.html index 3befee1c..0556ae01 100644 --- a/docs/reference/util_zero_truncated_poisson_param_estimate.html +++ b/docs/reference/util_zero_truncated_poisson_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -172,7 +172,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>
library(dplyr) library(ggplot2) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_burr_stats_tbl.html b/docs/reference/util_burr_stats_tbl.html index 16da87f4..0b79ce90 100644 --- a/docs/reference/util_burr_stats_tbl.html +++ b/docs/reference/util_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_burr() |> util_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_burr" diff --git a/docs/reference/util_cauchy_aic.html b/docs/reference/util_cauchy_aic.html index 43a09f46..62addb6b 100644 --- a/docs/reference/util_cauchy_aic.html +++ b/docs/reference/util_cauchy_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_cauchy_param_estimate.html b/docs/reference/util_cauchy_param_estimate.html index 924d0017..89a80fb6 100644 --- a/docs/reference/util_cauchy_param_estimate.html +++ b/docs/reference/util_cauchy_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_cauchy_stats_tbl.html b/docs/reference/util_cauchy_stats_tbl.html index 1b910cd3..c22e2667 100644 --- a/docs/reference/util_cauchy_stats_tbl.html +++ b/docs/reference/util_cauchy_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_cauchy() |> util_cauchy_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_cauchy" diff --git a/docs/reference/util_chisq_aic.html b/docs/reference/util_chisq_aic.html index 7dfd92ef..4448ffbd 100644 --- a/docs/reference/util_chisq_aic.html +++ b/docs/reference/util_chisq_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_chisquare_param_estimate.html b/docs/reference/util_chisquare_param_estimate.html index a767d4cc..d8de3605 100644 --- a/docs/reference/util_chisquare_param_estimate.html +++ b/docs/reference/util_chisquare_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -185,7 +185,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) +tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) output <- util_chisquare_param_estimate(tc) #> Warning: NaNs produced #> Warning: NaNs produced diff --git a/docs/reference/util_chisquare_stats_tbl.html b/docs/reference/util_chisquare_stats_tbl.html index 938aef47..493d3248 100644 --- a/docs/reference/util_chisquare_stats_tbl.html +++ b/docs/reference/util_chisquare_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_chisquare() |> util_chisquare_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_chisquare" diff --git a/docs/reference/util_exponential_aic.html b/docs/reference/util_exponential_aic.html index 3e46c5e3..172c9e0b 100644 --- a/docs/reference/util_exponential_aic.html +++ b/docs/reference/util_exponential_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_exponential_param_estimate.html b/docs/reference/util_exponential_param_estimate.html index c5e2f465..6948d4c8 100644 --- a/docs/reference/util_exponential_param_estimate.html +++ b/docs/reference/util_exponential_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -te <- tidy_exponential(.rate = .1) |> pull(y) +te <- tidy_exponential(.rate = .1) |> pull(y) output <- util_exponential_param_estimate(te) output$parameter_tbl diff --git a/docs/reference/util_exponential_stats_tbl.html b/docs/reference/util_exponential_stats_tbl.html index 885b4759..cc4b3ca5 100644 --- a/docs/reference/util_exponential_stats_tbl.html +++ b/docs/reference/util_exponential_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_exponential() |> util_exponential_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_exponential" diff --git a/docs/reference/util_f_aic.html b/docs/reference/util_f_aic.html index e1cef1d1..af8f232e 100644 --- a/docs/reference/util_f_aic.html +++ b/docs/reference/util_f_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_param_estimate.html b/docs/reference/util_f_param_estimate.html index 7b8f835a..38e1dfe1 100644 --- a/docs/reference/util_f_param_estimate.html +++ b/docs/reference/util_f_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_stats_tbl.html b/docs/reference/util_f_stats_tbl.html index 90d9036b..a38c7774 100644 --- a/docs/reference/util_f_stats_tbl.html +++ b/docs/reference/util_f_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_f() |> util_f_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_f" diff --git a/docs/reference/util_gamma_aic.html b/docs/reference/util_gamma_aic.html index d1c71922..7bd78b4b 100644 --- a/docs/reference/util_gamma_aic.html +++ b/docs/reference/util_gamma_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_gamma_param_estimate.html b/docs/reference/util_gamma_param_estimate.html index 3ef9902b..a41d1709 100644 --- a/docs/reference/util_gamma_param_estimate.html +++ b/docs/reference/util_gamma_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) +tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) output <- util_gamma_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_gamma_stats_tbl.html b/docs/reference/util_gamma_stats_tbl.html index 9a6bf86e..d7d82a05 100644 --- a/docs/reference/util_gamma_stats_tbl.html +++ b/docs/reference/util_gamma_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_gamma() |> util_gamma_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gamma" diff --git a/docs/reference/util_generalized_beta_aic.html b/docs/reference/util_generalized_beta_aic.html index 8022a031..6fa91516 100644 --- a/docs/reference/util_generalized_beta_aic.html +++ b/docs/reference/util_generalized_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_param_estimate.html b/docs/reference/util_generalized_beta_param_estimate.html index e8f093c1..2529aa56 100644 --- a/docs/reference/util_generalized_beta_param_estimate.html +++ b/docs/reference/util_generalized_beta_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_stats_tbl.html b/docs/reference/util_generalized_beta_stats_tbl.html index e00568ad..dea691db 100644 --- a/docs/reference/util_generalized_beta_stats_tbl.html +++ b/docs/reference/util_generalized_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_generalized_beta() |> util_generalized_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_generalized_beta" diff --git a/docs/reference/util_generalized_pareto_aic.html b/docs/reference/util_generalized_pareto_aic.html index 40a5cd0f..ce6f9c15 100644 --- a/docs/reference/util_generalized_pareto_aic.html +++ b/docs/reference/util_generalized_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_param_estimate.html b/docs/reference/util_generalized_pareto_param_estimate.html index f4fe3056..d10bf881 100644 --- a/docs/reference/util_generalized_pareto_param_estimate.html +++ b/docs/reference/util_generalized_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_stats_tbl.html b/docs/reference/util_generalized_pareto_stats_tbl.html index 7f8c6536..ebb3841a 100644 --- a/docs/reference/util_generalized_pareto_stats_tbl.html +++ b/docs/reference/util_generalized_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_generalized_pareto() |> util_generalized_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_generalized_pareto" diff --git a/docs/reference/util_geometric_aic.html b/docs/reference/util_geometric_aic.html index 7c360a69..7f38d139 100644 --- a/docs/reference/util_geometric_aic.html +++ b/docs/reference/util_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_geometric_param_estimate.html b/docs/reference/util_geometric_param_estimate.html index 3b272589..74eabdf2 100644 --- a/docs/reference/util_geometric_param_estimate.html +++ b/docs/reference/util_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_geometric(.prob = .1) |> pull(y) +tg <- tidy_geometric(.prob = .1) |> pull(y) output <- util_geometric_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_geometric_stats_tbl.html b/docs/reference/util_geometric_stats_tbl.html index 80b52983..5129cc71 100644 --- a/docs/reference/util_geometric_stats_tbl.html +++ b/docs/reference/util_geometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_geometric() |> util_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_geometric" diff --git a/docs/reference/util_hypergeometric_aic.html b/docs/reference/util_hypergeometric_aic.html index 1e544454..bdd0e55f 100644 --- a/docs/reference/util_hypergeometric_aic.html +++ b/docs/reference/util_hypergeometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_param_estimate.html b/docs/reference/util_hypergeometric_param_estimate.html index cccff580..a1a28c71 100644 --- a/docs/reference/util_hypergeometric_param_estimate.html +++ b/docs/reference/util_hypergeometric_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_stats_tbl.html b/docs/reference/util_hypergeometric_stats_tbl.html index 00818380..22fe2b4c 100644 --- a/docs/reference/util_hypergeometric_stats_tbl.html +++ b/docs/reference/util_hypergeometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_hypergeometric() |> util_hypergeometric_stats_tbl() |> - glimpse() + glimpse() #> Warning: NaNs produced #> Rows: 1 #> Columns: 18 diff --git a/docs/reference/util_inverse_burr_aic.html b/docs/reference/util_inverse_burr_aic.html index f500f861..8a8076e8 100644 --- a/docs/reference/util_inverse_burr_aic.html +++ b/docs/reference/util_inverse_burr_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_burr_param_estimate.html b/docs/reference/util_inverse_burr_param_estimate.html index fc3c105c..9a853649 100644 --- a/docs/reference/util_inverse_burr_param_estimate.html +++ b/docs/reference/util_inverse_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -145,7 +145,7 @@ Exampleslibrary(ggplot2) set.seed(123) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_inverse_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_inverse_burr_stats_tbl.html b/docs/reference/util_inverse_burr_stats_tbl.html index e9bb22e8..bc87f727 100644 --- a/docs/reference/util_inverse_burr_stats_tbl.html +++ b/docs/reference/util_inverse_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_burr() |> util_inverse_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_burr" diff --git a/docs/reference/util_inverse_pareto_aic.html b/docs/reference/util_inverse_pareto_aic.html index 0aad6746..c6f7dcee 100644 --- a/docs/reference/util_inverse_pareto_aic.html +++ b/docs/reference/util_inverse_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_param_estimate.html b/docs/reference/util_inverse_pareto_param_estimate.html index de644c11..4fe55d96 100644 --- a/docs/reference/util_inverse_pareto_param_estimate.html +++ b/docs/reference/util_inverse_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_stats_tbl.html b/docs/reference/util_inverse_pareto_stats_tbl.html index dbe5a59a..d4d420c0 100644 --- a/docs/reference/util_inverse_pareto_stats_tbl.html +++ b/docs/reference/util_inverse_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_inverse_pareto() |> util_inverse_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_inverse_pareto" diff --git a/docs/reference/util_inverse_weibull_aic.html b/docs/reference/util_inverse_weibull_aic.html index 509b662d..04e3d466 100644 --- a/docs/reference/util_inverse_weibull_aic.html +++ b/docs/reference/util_inverse_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_param_estimate.html b/docs/reference/util_inverse_weibull_param_estimate.html index 634c9be2..cf8d02b3 100644 --- a/docs/reference/util_inverse_weibull_param_estimate.html +++ b/docs/reference/util_inverse_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_stats_tbl.html b/docs/reference/util_inverse_weibull_stats_tbl.html index 76a4d185..43f46c0c 100644 --- a/docs/reference/util_inverse_weibull_stats_tbl.html +++ b/docs/reference/util_inverse_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_weibull() |> util_inverse_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_weibull" diff --git a/docs/reference/util_logistic_aic.html b/docs/reference/util_logistic_aic.html index 941bad8c..559f2add 100644 --- a/docs/reference/util_logistic_aic.html +++ b/docs/reference/util_logistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_param_estimate.html b/docs/reference/util_logistic_param_estimate.html index a6f4e755..7a119848 100644 --- a/docs/reference/util_logistic_param_estimate.html +++ b/docs/reference/util_logistic_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_stats_tbl.html b/docs/reference/util_logistic_stats_tbl.html index 54096cc9..b9f2d63c 100644 --- a/docs/reference/util_logistic_stats_tbl.html +++ b/docs/reference/util_logistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_logistic() |> util_logistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_logistic" diff --git a/docs/reference/util_lognormal_aic.html b/docs/reference/util_lognormal_aic.html index ca5e00dd..27046f56 100644 --- a/docs/reference/util_lognormal_aic.html +++ b/docs/reference/util_lognormal_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_lognormal_param_estimate.html b/docs/reference/util_lognormal_param_estimate.html index dc9accc5..f1bade01 100644 --- a/docs/reference/util_lognormal_param_estimate.html +++ b/docs/reference/util_lognormal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -170,7 +170,7 @@ Examples tidy_combined_autoplot() -tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) +tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) util_lognormal_param_estimate(tb)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method mean_log sd_log shape_ratio diff --git a/docs/reference/util_lognormal_stats_tbl.html b/docs/reference/util_lognormal_stats_tbl.html index 80f5ac4d..da15ee4f 100644 --- a/docs/reference/util_lognormal_stats_tbl.html +++ b/docs/reference/util_lognormal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_lognormal() |> util_lognormal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_lognormal" diff --git a/docs/reference/util_negative_binomial_aic.html b/docs/reference/util_negative_binomial_aic.html index 8a39ec7e..33e42944 100644 --- a/docs/reference/util_negative_binomial_aic.html +++ b/docs/reference/util_negative_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_param_estimate.html b/docs/reference/util_negative_binomial_param_estimate.html index 967f2730..288ed4f0 100644 --- a/docs/reference/util_negative_binomial_param_estimate.html +++ b/docs/reference/util_negative_binomial_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_stats_tbl.html b/docs/reference/util_negative_binomial_stats_tbl.html index 13a3f691..e76734a7 100644 --- a/docs/reference/util_negative_binomial_stats_tbl.html +++ b/docs/reference/util_negative_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_negative_binomial() |> util_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_negative_binomial" diff --git a/docs/reference/util_normal_aic.html b/docs/reference/util_normal_aic.html index 546bbde2..6ff1ac68 100644 --- a/docs/reference/util_normal_aic.html +++ b/docs/reference/util_normal_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_param_estimate.html b/docs/reference/util_normal_param_estimate.html index e418d51a..dae9b6dc 100644 --- a/docs/reference/util_normal_param_estimate.html +++ b/docs/reference/util_normal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_stats_tbl.html b/docs/reference/util_normal_stats_tbl.html index b48be3df..d8930f0b 100644 --- a/docs/reference/util_normal_stats_tbl.html +++ b/docs/reference/util_normal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_normal() |> util_normal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gaussian" diff --git a/docs/reference/util_paralogistic_aic.html b/docs/reference/util_paralogistic_aic.html index 725f9635..4d44d4aa 100644 --- a/docs/reference/util_paralogistic_aic.html +++ b/docs/reference/util_paralogistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_param_estimate.html b/docs/reference/util_paralogistic_param_estimate.html index 1105e989..87fb964c 100644 --- a/docs/reference/util_paralogistic_param_estimate.html +++ b/docs/reference/util_paralogistic_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_stats_tbl.html b/docs/reference/util_paralogistic_stats_tbl.html index 8de9ab8a..118a2734 100644 --- a/docs/reference/util_paralogistic_stats_tbl.html +++ b/docs/reference/util_paralogistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -127,7 +127,7 @@ Examplesset.seed(123) tidy_paralogistic(.n = 50, .shape = 5, .rate = 6) |> util_paralogistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_paralogistic" diff --git a/docs/reference/util_pareto1_aic.html b/docs/reference/util_pareto1_aic.html index 30bb2a2d..06c382ae 100644 --- a/docs/reference/util_pareto1_aic.html +++ b/docs/reference/util_pareto1_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_param_estimate.html b/docs/reference/util_pareto1_param_estimate.html index be47ebdf..512d9c44 100644 --- a/docs/reference/util_pareto1_param_estimate.html +++ b/docs/reference/util_pareto1_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_stats_tbl.html b/docs/reference/util_pareto1_stats_tbl.html index 264cb79e..1654f253 100644 --- a/docs/reference/util_pareto1_stats_tbl.html +++ b/docs/reference/util_pareto1_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -132,7 +132,7 @@ Examples tidy_pareto1() |> util_pareto1_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto_single_parameter" diff --git a/docs/reference/util_pareto_aic.html b/docs/reference/util_pareto_aic.html index 3935513d..a459a584 100644 --- a/docs/reference/util_pareto_aic.html +++ b/docs/reference/util_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto_param_estimate.html b/docs/reference/util_pareto_param_estimate.html index b166c8af..7f508e5f 100644 --- a/docs/reference/util_pareto_param_estimate.html +++ b/docs/reference/util_pareto_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -176,7 +176,7 @@ Examples tidy_combined_autoplot() -t <- tidy_pareto(50, 1, 1) |> pull(y) +t <- tidy_pareto(50, 1, 1) |> pull(y) util_pareto_param_estimate(t)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method shape scale shape_ratio diff --git a/docs/reference/util_pareto_stats_tbl.html b/docs/reference/util_pareto_stats_tbl.html index fed5d901..e89c5040 100644 --- a/docs/reference/util_pareto_stats_tbl.html +++ b/docs/reference/util_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -136,7 +136,7 @@ Examples tidy_pareto() |> util_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto" diff --git a/docs/reference/util_poisson_aic.html b/docs/reference/util_poisson_aic.html index 7b2241f9..3b66ed50 100644 --- a/docs/reference/util_poisson_aic.html +++ b/docs/reference/util_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_param_estimate.html b/docs/reference/util_poisson_param_estimate.html index c27b7a88..b7009711 100644 --- a/docs/reference/util_poisson_param_estimate.html +++ b/docs/reference/util_poisson_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_stats_tbl.html b/docs/reference/util_poisson_stats_tbl.html index 16037c48..f4f2536e 100644 --- a/docs/reference/util_poisson_stats_tbl.html +++ b/docs/reference/util_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_poisson() |> util_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_poisson" diff --git a/docs/reference/util_t_aic.html b/docs/reference/util_t_aic.html index 8a7d7172..07cf2841 100644 --- a/docs/reference/util_t_aic.html +++ b/docs/reference/util_t_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_param_estimate.html b/docs/reference/util_t_param_estimate.html index 07caed12..e87c9558 100644 --- a/docs/reference/util_t_param_estimate.html +++ b/docs/reference/util_t_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_stats_tbl.html b/docs/reference/util_t_stats_tbl.html index 2eb8e3ef..d83e1f68 100644 --- a/docs/reference/util_t_stats_tbl.html +++ b/docs/reference/util_t_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_t() |> util_t_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_t" diff --git a/docs/reference/util_triangular_aic.html b/docs/reference/util_triangular_aic.html index 1c99bf53..84bef91e 100644 --- a/docs/reference/util_triangular_aic.html +++ b/docs/reference/util_triangular_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_param_estimate.html b/docs/reference/util_triangular_param_estimate.html index b6451547..0fd09750 100644 --- a/docs/reference/util_triangular_param_estimate.html +++ b/docs/reference/util_triangular_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_stats_tbl.html b/docs/reference/util_triangular_stats_tbl.html index 9c2e0eff..5563bc9a 100644 --- a/docs/reference/util_triangular_stats_tbl.html +++ b/docs/reference/util_triangular_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_triangular() |> util_triangular_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 19 #> $ tidy_function <chr> "tidy_triangular" diff --git a/docs/reference/util_uniform_aic.html b/docs/reference/util_uniform_aic.html index 6359b650..aca76de7 100644 --- a/docs/reference/util_uniform_aic.html +++ b/docs/reference/util_uniform_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_param_estimate.html b/docs/reference/util_uniform_param_estimate.html index 334cc677..cc5739da 100644 --- a/docs/reference/util_uniform_param_estimate.html +++ b/docs/reference/util_uniform_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_stats_tbl.html b/docs/reference/util_uniform_stats_tbl.html index 50ad2965..631b091e 100644 --- a/docs/reference/util_uniform_stats_tbl.html +++ b/docs/reference/util_uniform_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_uniform() |> util_uniform_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_uniform" diff --git a/docs/reference/util_weibull_aic.html b/docs/reference/util_weibull_aic.html index 37c5a74f..24b4911d 100644 --- a/docs/reference/util_weibull_aic.html +++ b/docs/reference/util_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_param_estimate.html b/docs/reference/util_weibull_param_estimate.html index 00ba0d39..da957364 100644 --- a/docs/reference/util_weibull_param_estimate.html +++ b/docs/reference/util_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_stats_tbl.html b/docs/reference/util_weibull_stats_tbl.html index 8ffd84fe..6a13d26e 100644 --- a/docs/reference/util_weibull_stats_tbl.html +++ b/docs/reference/util_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_weibull() |> util_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_weibull" diff --git a/docs/reference/util_zero_truncated_binomial_aic.html b/docs/reference/util_zero_truncated_binomial_aic.html index f6d7dfd9..600102c0 100644 --- a/docs/reference/util_zero_truncated_binomial_aic.html +++ b/docs/reference/util_zero_truncated_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_param_estimate.html b/docs/reference/util_zero_truncated_binomial_param_estimate.html index 4ac5326d..ed97e23a 100644 --- a/docs/reference/util_zero_truncated_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_binomial_stats_tbl.html index 80543200..ac268042 100644 --- a/docs/reference/util_zero_truncated_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -135,7 +135,7 @@ Examplesset.seed(123) tidy_zero_truncated_binomial(.size = 10, .prob = 0.1) |> util_zero_truncated_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 15 #> $ tidy_function <chr> "tidy_zero_truncated_binomial" diff --git a/docs/reference/util_zero_truncated_geometric_aic.html b/docs/reference/util_zero_truncated_geometric_aic.html index 97009878..de15aa06 100644 --- a/docs/reference/util_zero_truncated_geometric_aic.html +++ b/docs/reference/util_zero_truncated_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_param_estimate.html b/docs/reference/util_zero_truncated_geometric_param_estimate.html index 5f861c2e..81f29889 100644 --- a/docs/reference/util_zero_truncated_geometric_param_estimate.html +++ b/docs/reference/util_zero_truncated_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_stats_tbl.html b/docs/reference/util_zero_truncated_geometric_stats_tbl.html index 7ff2e70a..05a904fd 100644 --- a/docs/reference/util_zero_truncated_geometric_stats_tbl.html +++ b/docs/reference/util_zero_truncated_geometric_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_zero_truncated_geometric(.prob = 0.1) |> util_zero_truncated_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_geometric" diff --git a/docs/reference/util_zero_truncated_negative_binomial_aic.html b/docs/reference/util_zero_truncated_negative_binomial_aic.html index b4bc9746..70458756 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_aic.html +++ b/docs/reference/util_zero_truncated_negative_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html index f7a1b138..99bcce0c 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html index c6ad3dae..0a119a83 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -142,7 +142,7 @@ Examples tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |> util_zero_truncated_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_negative_binomial" diff --git a/docs/reference/util_zero_truncated_poisson_aic.html b/docs/reference/util_zero_truncated_poisson_aic.html index fa8ed9b8..066dde32 100644 --- a/docs/reference/util_zero_truncated_poisson_aic.html +++ b/docs/reference/util_zero_truncated_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_poisson_param_estimate.html b/docs/reference/util_zero_truncated_poisson_param_estimate.html index 3befee1c..0556ae01 100644 --- a/docs/reference/util_zero_truncated_poisson_param_estimate.html +++ b/docs/reference/util_zero_truncated_poisson_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -172,7 +172,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>
library(dplyr) library(ggplot2) -tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) +tc <- tidy_chisquare(.n = 500, .df = 6, .ncp = 1) |> pull(y) output <- util_chisquare_param_estimate(tc) #> Warning: NaNs produced #> Warning: NaNs produced diff --git a/docs/reference/util_chisquare_stats_tbl.html b/docs/reference/util_chisquare_stats_tbl.html index 938aef47..493d3248 100644 --- a/docs/reference/util_chisquare_stats_tbl.html +++ b/docs/reference/util_chisquare_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_chisquare() |> util_chisquare_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_chisquare" diff --git a/docs/reference/util_exponential_aic.html b/docs/reference/util_exponential_aic.html index 3e46c5e3..172c9e0b 100644 --- a/docs/reference/util_exponential_aic.html +++ b/docs/reference/util_exponential_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_exponential_param_estimate.html b/docs/reference/util_exponential_param_estimate.html index c5e2f465..6948d4c8 100644 --- a/docs/reference/util_exponential_param_estimate.html +++ b/docs/reference/util_exponential_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -te <- tidy_exponential(.rate = .1) |> pull(y) +te <- tidy_exponential(.rate = .1) |> pull(y) output <- util_exponential_param_estimate(te) output$parameter_tbl diff --git a/docs/reference/util_exponential_stats_tbl.html b/docs/reference/util_exponential_stats_tbl.html index 885b4759..cc4b3ca5 100644 --- a/docs/reference/util_exponential_stats_tbl.html +++ b/docs/reference/util_exponential_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_exponential() |> util_exponential_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_exponential" diff --git a/docs/reference/util_f_aic.html b/docs/reference/util_f_aic.html index e1cef1d1..af8f232e 100644 --- a/docs/reference/util_f_aic.html +++ b/docs/reference/util_f_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_param_estimate.html b/docs/reference/util_f_param_estimate.html index 7b8f835a..38e1dfe1 100644 --- a/docs/reference/util_f_param_estimate.html +++ b/docs/reference/util_f_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_stats_tbl.html b/docs/reference/util_f_stats_tbl.html index 90d9036b..a38c7774 100644 --- a/docs/reference/util_f_stats_tbl.html +++ b/docs/reference/util_f_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_f() |> util_f_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_f" diff --git a/docs/reference/util_gamma_aic.html b/docs/reference/util_gamma_aic.html index d1c71922..7bd78b4b 100644 --- a/docs/reference/util_gamma_aic.html +++ b/docs/reference/util_gamma_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_gamma_param_estimate.html b/docs/reference/util_gamma_param_estimate.html index 3ef9902b..a41d1709 100644 --- a/docs/reference/util_gamma_param_estimate.html +++ b/docs/reference/util_gamma_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) +tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) output <- util_gamma_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_gamma_stats_tbl.html b/docs/reference/util_gamma_stats_tbl.html index 9a6bf86e..d7d82a05 100644 --- a/docs/reference/util_gamma_stats_tbl.html +++ b/docs/reference/util_gamma_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_gamma() |> util_gamma_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gamma" diff --git a/docs/reference/util_generalized_beta_aic.html b/docs/reference/util_generalized_beta_aic.html index 8022a031..6fa91516 100644 --- a/docs/reference/util_generalized_beta_aic.html +++ b/docs/reference/util_generalized_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_param_estimate.html b/docs/reference/util_generalized_beta_param_estimate.html index e8f093c1..2529aa56 100644 --- a/docs/reference/util_generalized_beta_param_estimate.html +++ b/docs/reference/util_generalized_beta_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_stats_tbl.html b/docs/reference/util_generalized_beta_stats_tbl.html index e00568ad..dea691db 100644 --- a/docs/reference/util_generalized_beta_stats_tbl.html +++ b/docs/reference/util_generalized_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_generalized_beta() |> util_generalized_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_generalized_beta" diff --git a/docs/reference/util_generalized_pareto_aic.html b/docs/reference/util_generalized_pareto_aic.html index 40a5cd0f..ce6f9c15 100644 --- a/docs/reference/util_generalized_pareto_aic.html +++ b/docs/reference/util_generalized_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_param_estimate.html b/docs/reference/util_generalized_pareto_param_estimate.html index f4fe3056..d10bf881 100644 --- a/docs/reference/util_generalized_pareto_param_estimate.html +++ b/docs/reference/util_generalized_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_stats_tbl.html b/docs/reference/util_generalized_pareto_stats_tbl.html index 7f8c6536..ebb3841a 100644 --- a/docs/reference/util_generalized_pareto_stats_tbl.html +++ b/docs/reference/util_generalized_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_generalized_pareto() |> util_generalized_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_generalized_pareto" diff --git a/docs/reference/util_geometric_aic.html b/docs/reference/util_geometric_aic.html index 7c360a69..7f38d139 100644 --- a/docs/reference/util_geometric_aic.html +++ b/docs/reference/util_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_geometric_param_estimate.html b/docs/reference/util_geometric_param_estimate.html index 3b272589..74eabdf2 100644 --- a/docs/reference/util_geometric_param_estimate.html +++ b/docs/reference/util_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_geometric(.prob = .1) |> pull(y) +tg <- tidy_geometric(.prob = .1) |> pull(y) output <- util_geometric_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_geometric_stats_tbl.html b/docs/reference/util_geometric_stats_tbl.html index 80b52983..5129cc71 100644 --- a/docs/reference/util_geometric_stats_tbl.html +++ b/docs/reference/util_geometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_geometric() |> util_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_geometric" diff --git a/docs/reference/util_hypergeometric_aic.html b/docs/reference/util_hypergeometric_aic.html index 1e544454..bdd0e55f 100644 --- a/docs/reference/util_hypergeometric_aic.html +++ b/docs/reference/util_hypergeometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_param_estimate.html b/docs/reference/util_hypergeometric_param_estimate.html index cccff580..a1a28c71 100644 --- a/docs/reference/util_hypergeometric_param_estimate.html +++ b/docs/reference/util_hypergeometric_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_stats_tbl.html b/docs/reference/util_hypergeometric_stats_tbl.html index 00818380..22fe2b4c 100644 --- a/docs/reference/util_hypergeometric_stats_tbl.html +++ b/docs/reference/util_hypergeometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_hypergeometric() |> util_hypergeometric_stats_tbl() |> - glimpse() + glimpse() #> Warning: NaNs produced #> Rows: 1 #> Columns: 18 diff --git a/docs/reference/util_inverse_burr_aic.html b/docs/reference/util_inverse_burr_aic.html index f500f861..8a8076e8 100644 --- a/docs/reference/util_inverse_burr_aic.html +++ b/docs/reference/util_inverse_burr_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_burr_param_estimate.html b/docs/reference/util_inverse_burr_param_estimate.html index fc3c105c..9a853649 100644 --- a/docs/reference/util_inverse_burr_param_estimate.html +++ b/docs/reference/util_inverse_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -145,7 +145,7 @@ Exampleslibrary(ggplot2) set.seed(123) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_inverse_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_inverse_burr_stats_tbl.html b/docs/reference/util_inverse_burr_stats_tbl.html index e9bb22e8..bc87f727 100644 --- a/docs/reference/util_inverse_burr_stats_tbl.html +++ b/docs/reference/util_inverse_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_burr() |> util_inverse_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_burr" diff --git a/docs/reference/util_inverse_pareto_aic.html b/docs/reference/util_inverse_pareto_aic.html index 0aad6746..c6f7dcee 100644 --- a/docs/reference/util_inverse_pareto_aic.html +++ b/docs/reference/util_inverse_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_param_estimate.html b/docs/reference/util_inverse_pareto_param_estimate.html index de644c11..4fe55d96 100644 --- a/docs/reference/util_inverse_pareto_param_estimate.html +++ b/docs/reference/util_inverse_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_stats_tbl.html b/docs/reference/util_inverse_pareto_stats_tbl.html index dbe5a59a..d4d420c0 100644 --- a/docs/reference/util_inverse_pareto_stats_tbl.html +++ b/docs/reference/util_inverse_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_inverse_pareto() |> util_inverse_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_inverse_pareto" diff --git a/docs/reference/util_inverse_weibull_aic.html b/docs/reference/util_inverse_weibull_aic.html index 509b662d..04e3d466 100644 --- a/docs/reference/util_inverse_weibull_aic.html +++ b/docs/reference/util_inverse_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_param_estimate.html b/docs/reference/util_inverse_weibull_param_estimate.html index 634c9be2..cf8d02b3 100644 --- a/docs/reference/util_inverse_weibull_param_estimate.html +++ b/docs/reference/util_inverse_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_stats_tbl.html b/docs/reference/util_inverse_weibull_stats_tbl.html index 76a4d185..43f46c0c 100644 --- a/docs/reference/util_inverse_weibull_stats_tbl.html +++ b/docs/reference/util_inverse_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_weibull() |> util_inverse_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_weibull" diff --git a/docs/reference/util_logistic_aic.html b/docs/reference/util_logistic_aic.html index 941bad8c..559f2add 100644 --- a/docs/reference/util_logistic_aic.html +++ b/docs/reference/util_logistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_param_estimate.html b/docs/reference/util_logistic_param_estimate.html index a6f4e755..7a119848 100644 --- a/docs/reference/util_logistic_param_estimate.html +++ b/docs/reference/util_logistic_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_stats_tbl.html b/docs/reference/util_logistic_stats_tbl.html index 54096cc9..b9f2d63c 100644 --- a/docs/reference/util_logistic_stats_tbl.html +++ b/docs/reference/util_logistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_logistic() |> util_logistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_logistic" diff --git a/docs/reference/util_lognormal_aic.html b/docs/reference/util_lognormal_aic.html index ca5e00dd..27046f56 100644 --- a/docs/reference/util_lognormal_aic.html +++ b/docs/reference/util_lognormal_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_lognormal_param_estimate.html b/docs/reference/util_lognormal_param_estimate.html index dc9accc5..f1bade01 100644 --- a/docs/reference/util_lognormal_param_estimate.html +++ b/docs/reference/util_lognormal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -170,7 +170,7 @@ Examples tidy_combined_autoplot() -tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) +tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) util_lognormal_param_estimate(tb)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method mean_log sd_log shape_ratio diff --git a/docs/reference/util_lognormal_stats_tbl.html b/docs/reference/util_lognormal_stats_tbl.html index 80f5ac4d..da15ee4f 100644 --- a/docs/reference/util_lognormal_stats_tbl.html +++ b/docs/reference/util_lognormal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_lognormal() |> util_lognormal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_lognormal" diff --git a/docs/reference/util_negative_binomial_aic.html b/docs/reference/util_negative_binomial_aic.html index 8a39ec7e..33e42944 100644 --- a/docs/reference/util_negative_binomial_aic.html +++ b/docs/reference/util_negative_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_param_estimate.html b/docs/reference/util_negative_binomial_param_estimate.html index 967f2730..288ed4f0 100644 --- a/docs/reference/util_negative_binomial_param_estimate.html +++ b/docs/reference/util_negative_binomial_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_stats_tbl.html b/docs/reference/util_negative_binomial_stats_tbl.html index 13a3f691..e76734a7 100644 --- a/docs/reference/util_negative_binomial_stats_tbl.html +++ b/docs/reference/util_negative_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_negative_binomial() |> util_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_negative_binomial" diff --git a/docs/reference/util_normal_aic.html b/docs/reference/util_normal_aic.html index 546bbde2..6ff1ac68 100644 --- a/docs/reference/util_normal_aic.html +++ b/docs/reference/util_normal_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_param_estimate.html b/docs/reference/util_normal_param_estimate.html index e418d51a..dae9b6dc 100644 --- a/docs/reference/util_normal_param_estimate.html +++ b/docs/reference/util_normal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_stats_tbl.html b/docs/reference/util_normal_stats_tbl.html index b48be3df..d8930f0b 100644 --- a/docs/reference/util_normal_stats_tbl.html +++ b/docs/reference/util_normal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_normal() |> util_normal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gaussian" diff --git a/docs/reference/util_paralogistic_aic.html b/docs/reference/util_paralogistic_aic.html index 725f9635..4d44d4aa 100644 --- a/docs/reference/util_paralogistic_aic.html +++ b/docs/reference/util_paralogistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_param_estimate.html b/docs/reference/util_paralogistic_param_estimate.html index 1105e989..87fb964c 100644 --- a/docs/reference/util_paralogistic_param_estimate.html +++ b/docs/reference/util_paralogistic_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_stats_tbl.html b/docs/reference/util_paralogistic_stats_tbl.html index 8de9ab8a..118a2734 100644 --- a/docs/reference/util_paralogistic_stats_tbl.html +++ b/docs/reference/util_paralogistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -127,7 +127,7 @@ Examplesset.seed(123) tidy_paralogistic(.n = 50, .shape = 5, .rate = 6) |> util_paralogistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_paralogistic" diff --git a/docs/reference/util_pareto1_aic.html b/docs/reference/util_pareto1_aic.html index 30bb2a2d..06c382ae 100644 --- a/docs/reference/util_pareto1_aic.html +++ b/docs/reference/util_pareto1_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_param_estimate.html b/docs/reference/util_pareto1_param_estimate.html index be47ebdf..512d9c44 100644 --- a/docs/reference/util_pareto1_param_estimate.html +++ b/docs/reference/util_pareto1_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_stats_tbl.html b/docs/reference/util_pareto1_stats_tbl.html index 264cb79e..1654f253 100644 --- a/docs/reference/util_pareto1_stats_tbl.html +++ b/docs/reference/util_pareto1_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -132,7 +132,7 @@ Examples tidy_pareto1() |> util_pareto1_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto_single_parameter" diff --git a/docs/reference/util_pareto_aic.html b/docs/reference/util_pareto_aic.html index 3935513d..a459a584 100644 --- a/docs/reference/util_pareto_aic.html +++ b/docs/reference/util_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto_param_estimate.html b/docs/reference/util_pareto_param_estimate.html index b166c8af..7f508e5f 100644 --- a/docs/reference/util_pareto_param_estimate.html +++ b/docs/reference/util_pareto_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -176,7 +176,7 @@ Examples tidy_combined_autoplot() -t <- tidy_pareto(50, 1, 1) |> pull(y) +t <- tidy_pareto(50, 1, 1) |> pull(y) util_pareto_param_estimate(t)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method shape scale shape_ratio diff --git a/docs/reference/util_pareto_stats_tbl.html b/docs/reference/util_pareto_stats_tbl.html index fed5d901..e89c5040 100644 --- a/docs/reference/util_pareto_stats_tbl.html +++ b/docs/reference/util_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -136,7 +136,7 @@ Examples tidy_pareto() |> util_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto" diff --git a/docs/reference/util_poisson_aic.html b/docs/reference/util_poisson_aic.html index 7b2241f9..3b66ed50 100644 --- a/docs/reference/util_poisson_aic.html +++ b/docs/reference/util_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_param_estimate.html b/docs/reference/util_poisson_param_estimate.html index c27b7a88..b7009711 100644 --- a/docs/reference/util_poisson_param_estimate.html +++ b/docs/reference/util_poisson_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_stats_tbl.html b/docs/reference/util_poisson_stats_tbl.html index 16037c48..f4f2536e 100644 --- a/docs/reference/util_poisson_stats_tbl.html +++ b/docs/reference/util_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_poisson() |> util_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_poisson" diff --git a/docs/reference/util_t_aic.html b/docs/reference/util_t_aic.html index 8a7d7172..07cf2841 100644 --- a/docs/reference/util_t_aic.html +++ b/docs/reference/util_t_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_param_estimate.html b/docs/reference/util_t_param_estimate.html index 07caed12..e87c9558 100644 --- a/docs/reference/util_t_param_estimate.html +++ b/docs/reference/util_t_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_stats_tbl.html b/docs/reference/util_t_stats_tbl.html index 2eb8e3ef..d83e1f68 100644 --- a/docs/reference/util_t_stats_tbl.html +++ b/docs/reference/util_t_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_t() |> util_t_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_t" diff --git a/docs/reference/util_triangular_aic.html b/docs/reference/util_triangular_aic.html index 1c99bf53..84bef91e 100644 --- a/docs/reference/util_triangular_aic.html +++ b/docs/reference/util_triangular_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_param_estimate.html b/docs/reference/util_triangular_param_estimate.html index b6451547..0fd09750 100644 --- a/docs/reference/util_triangular_param_estimate.html +++ b/docs/reference/util_triangular_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_stats_tbl.html b/docs/reference/util_triangular_stats_tbl.html index 9c2e0eff..5563bc9a 100644 --- a/docs/reference/util_triangular_stats_tbl.html +++ b/docs/reference/util_triangular_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_triangular() |> util_triangular_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 19 #> $ tidy_function <chr> "tidy_triangular" diff --git a/docs/reference/util_uniform_aic.html b/docs/reference/util_uniform_aic.html index 6359b650..aca76de7 100644 --- a/docs/reference/util_uniform_aic.html +++ b/docs/reference/util_uniform_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_param_estimate.html b/docs/reference/util_uniform_param_estimate.html index 334cc677..cc5739da 100644 --- a/docs/reference/util_uniform_param_estimate.html +++ b/docs/reference/util_uniform_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_stats_tbl.html b/docs/reference/util_uniform_stats_tbl.html index 50ad2965..631b091e 100644 --- a/docs/reference/util_uniform_stats_tbl.html +++ b/docs/reference/util_uniform_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_uniform() |> util_uniform_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_uniform" diff --git a/docs/reference/util_weibull_aic.html b/docs/reference/util_weibull_aic.html index 37c5a74f..24b4911d 100644 --- a/docs/reference/util_weibull_aic.html +++ b/docs/reference/util_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_param_estimate.html b/docs/reference/util_weibull_param_estimate.html index 00ba0d39..da957364 100644 --- a/docs/reference/util_weibull_param_estimate.html +++ b/docs/reference/util_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_stats_tbl.html b/docs/reference/util_weibull_stats_tbl.html index 8ffd84fe..6a13d26e 100644 --- a/docs/reference/util_weibull_stats_tbl.html +++ b/docs/reference/util_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_weibull() |> util_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_weibull" diff --git a/docs/reference/util_zero_truncated_binomial_aic.html b/docs/reference/util_zero_truncated_binomial_aic.html index f6d7dfd9..600102c0 100644 --- a/docs/reference/util_zero_truncated_binomial_aic.html +++ b/docs/reference/util_zero_truncated_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_param_estimate.html b/docs/reference/util_zero_truncated_binomial_param_estimate.html index 4ac5326d..ed97e23a 100644 --- a/docs/reference/util_zero_truncated_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_binomial_stats_tbl.html index 80543200..ac268042 100644 --- a/docs/reference/util_zero_truncated_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -135,7 +135,7 @@ Examplesset.seed(123) tidy_zero_truncated_binomial(.size = 10, .prob = 0.1) |> util_zero_truncated_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 15 #> $ tidy_function <chr> "tidy_zero_truncated_binomial" diff --git a/docs/reference/util_zero_truncated_geometric_aic.html b/docs/reference/util_zero_truncated_geometric_aic.html index 97009878..de15aa06 100644 --- a/docs/reference/util_zero_truncated_geometric_aic.html +++ b/docs/reference/util_zero_truncated_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_param_estimate.html b/docs/reference/util_zero_truncated_geometric_param_estimate.html index 5f861c2e..81f29889 100644 --- a/docs/reference/util_zero_truncated_geometric_param_estimate.html +++ b/docs/reference/util_zero_truncated_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_stats_tbl.html b/docs/reference/util_zero_truncated_geometric_stats_tbl.html index 7ff2e70a..05a904fd 100644 --- a/docs/reference/util_zero_truncated_geometric_stats_tbl.html +++ b/docs/reference/util_zero_truncated_geometric_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_zero_truncated_geometric(.prob = 0.1) |> util_zero_truncated_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_geometric" diff --git a/docs/reference/util_zero_truncated_negative_binomial_aic.html b/docs/reference/util_zero_truncated_negative_binomial_aic.html index b4bc9746..70458756 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_aic.html +++ b/docs/reference/util_zero_truncated_negative_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html index f7a1b138..99bcce0c 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html index c6ad3dae..0a119a83 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -142,7 +142,7 @@ Examples tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |> util_zero_truncated_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_negative_binomial" diff --git a/docs/reference/util_zero_truncated_poisson_aic.html b/docs/reference/util_zero_truncated_poisson_aic.html index fa8ed9b8..066dde32 100644 --- a/docs/reference/util_zero_truncated_poisson_aic.html +++ b/docs/reference/util_zero_truncated_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_poisson_param_estimate.html b/docs/reference/util_zero_truncated_poisson_param_estimate.html index 3befee1c..0556ae01 100644 --- a/docs/reference/util_zero_truncated_poisson_param_estimate.html +++ b/docs/reference/util_zero_truncated_poisson_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -172,7 +172,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>
library(dplyr) library(ggplot2) -te <- tidy_exponential(.rate = .1) |> pull(y) +te <- tidy_exponential(.rate = .1) |> pull(y) output <- util_exponential_param_estimate(te) output$parameter_tbl diff --git a/docs/reference/util_exponential_stats_tbl.html b/docs/reference/util_exponential_stats_tbl.html index 885b4759..cc4b3ca5 100644 --- a/docs/reference/util_exponential_stats_tbl.html +++ b/docs/reference/util_exponential_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_exponential() |> util_exponential_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_exponential" diff --git a/docs/reference/util_f_aic.html b/docs/reference/util_f_aic.html index e1cef1d1..af8f232e 100644 --- a/docs/reference/util_f_aic.html +++ b/docs/reference/util_f_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_param_estimate.html b/docs/reference/util_f_param_estimate.html index 7b8f835a..38e1dfe1 100644 --- a/docs/reference/util_f_param_estimate.html +++ b/docs/reference/util_f_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_f_stats_tbl.html b/docs/reference/util_f_stats_tbl.html index 90d9036b..a38c7774 100644 --- a/docs/reference/util_f_stats_tbl.html +++ b/docs/reference/util_f_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_f() |> util_f_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_f" diff --git a/docs/reference/util_gamma_aic.html b/docs/reference/util_gamma_aic.html index d1c71922..7bd78b4b 100644 --- a/docs/reference/util_gamma_aic.html +++ b/docs/reference/util_gamma_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_gamma_param_estimate.html b/docs/reference/util_gamma_param_estimate.html index 3ef9902b..a41d1709 100644 --- a/docs/reference/util_gamma_param_estimate.html +++ b/docs/reference/util_gamma_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -147,7 +147,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) +tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) output <- util_gamma_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_gamma_stats_tbl.html b/docs/reference/util_gamma_stats_tbl.html index 9a6bf86e..d7d82a05 100644 --- a/docs/reference/util_gamma_stats_tbl.html +++ b/docs/reference/util_gamma_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_gamma() |> util_gamma_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gamma" diff --git a/docs/reference/util_generalized_beta_aic.html b/docs/reference/util_generalized_beta_aic.html index 8022a031..6fa91516 100644 --- a/docs/reference/util_generalized_beta_aic.html +++ b/docs/reference/util_generalized_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_param_estimate.html b/docs/reference/util_generalized_beta_param_estimate.html index e8f093c1..2529aa56 100644 --- a/docs/reference/util_generalized_beta_param_estimate.html +++ b/docs/reference/util_generalized_beta_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_stats_tbl.html b/docs/reference/util_generalized_beta_stats_tbl.html index e00568ad..dea691db 100644 --- a/docs/reference/util_generalized_beta_stats_tbl.html +++ b/docs/reference/util_generalized_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_generalized_beta() |> util_generalized_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_generalized_beta" diff --git a/docs/reference/util_generalized_pareto_aic.html b/docs/reference/util_generalized_pareto_aic.html index 40a5cd0f..ce6f9c15 100644 --- a/docs/reference/util_generalized_pareto_aic.html +++ b/docs/reference/util_generalized_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_param_estimate.html b/docs/reference/util_generalized_pareto_param_estimate.html index f4fe3056..d10bf881 100644 --- a/docs/reference/util_generalized_pareto_param_estimate.html +++ b/docs/reference/util_generalized_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_stats_tbl.html b/docs/reference/util_generalized_pareto_stats_tbl.html index 7f8c6536..ebb3841a 100644 --- a/docs/reference/util_generalized_pareto_stats_tbl.html +++ b/docs/reference/util_generalized_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_generalized_pareto() |> util_generalized_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_generalized_pareto" diff --git a/docs/reference/util_geometric_aic.html b/docs/reference/util_geometric_aic.html index 7c360a69..7f38d139 100644 --- a/docs/reference/util_geometric_aic.html +++ b/docs/reference/util_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_geometric_param_estimate.html b/docs/reference/util_geometric_param_estimate.html index 3b272589..74eabdf2 100644 --- a/docs/reference/util_geometric_param_estimate.html +++ b/docs/reference/util_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_geometric(.prob = .1) |> pull(y) +tg <- tidy_geometric(.prob = .1) |> pull(y) output <- util_geometric_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_geometric_stats_tbl.html b/docs/reference/util_geometric_stats_tbl.html index 80b52983..5129cc71 100644 --- a/docs/reference/util_geometric_stats_tbl.html +++ b/docs/reference/util_geometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_geometric() |> util_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_geometric" diff --git a/docs/reference/util_hypergeometric_aic.html b/docs/reference/util_hypergeometric_aic.html index 1e544454..bdd0e55f 100644 --- a/docs/reference/util_hypergeometric_aic.html +++ b/docs/reference/util_hypergeometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_param_estimate.html b/docs/reference/util_hypergeometric_param_estimate.html index cccff580..a1a28c71 100644 --- a/docs/reference/util_hypergeometric_param_estimate.html +++ b/docs/reference/util_hypergeometric_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_stats_tbl.html b/docs/reference/util_hypergeometric_stats_tbl.html index 00818380..22fe2b4c 100644 --- a/docs/reference/util_hypergeometric_stats_tbl.html +++ b/docs/reference/util_hypergeometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_hypergeometric() |> util_hypergeometric_stats_tbl() |> - glimpse() + glimpse() #> Warning: NaNs produced #> Rows: 1 #> Columns: 18 diff --git a/docs/reference/util_inverse_burr_aic.html b/docs/reference/util_inverse_burr_aic.html index f500f861..8a8076e8 100644 --- a/docs/reference/util_inverse_burr_aic.html +++ b/docs/reference/util_inverse_burr_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_burr_param_estimate.html b/docs/reference/util_inverse_burr_param_estimate.html index fc3c105c..9a853649 100644 --- a/docs/reference/util_inverse_burr_param_estimate.html +++ b/docs/reference/util_inverse_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -145,7 +145,7 @@ Exampleslibrary(ggplot2) set.seed(123) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_inverse_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_inverse_burr_stats_tbl.html b/docs/reference/util_inverse_burr_stats_tbl.html index e9bb22e8..bc87f727 100644 --- a/docs/reference/util_inverse_burr_stats_tbl.html +++ b/docs/reference/util_inverse_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_burr() |> util_inverse_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_burr" diff --git a/docs/reference/util_inverse_pareto_aic.html b/docs/reference/util_inverse_pareto_aic.html index 0aad6746..c6f7dcee 100644 --- a/docs/reference/util_inverse_pareto_aic.html +++ b/docs/reference/util_inverse_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_param_estimate.html b/docs/reference/util_inverse_pareto_param_estimate.html index de644c11..4fe55d96 100644 --- a/docs/reference/util_inverse_pareto_param_estimate.html +++ b/docs/reference/util_inverse_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_stats_tbl.html b/docs/reference/util_inverse_pareto_stats_tbl.html index dbe5a59a..d4d420c0 100644 --- a/docs/reference/util_inverse_pareto_stats_tbl.html +++ b/docs/reference/util_inverse_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_inverse_pareto() |> util_inverse_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_inverse_pareto" diff --git a/docs/reference/util_inverse_weibull_aic.html b/docs/reference/util_inverse_weibull_aic.html index 509b662d..04e3d466 100644 --- a/docs/reference/util_inverse_weibull_aic.html +++ b/docs/reference/util_inverse_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_param_estimate.html b/docs/reference/util_inverse_weibull_param_estimate.html index 634c9be2..cf8d02b3 100644 --- a/docs/reference/util_inverse_weibull_param_estimate.html +++ b/docs/reference/util_inverse_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_stats_tbl.html b/docs/reference/util_inverse_weibull_stats_tbl.html index 76a4d185..43f46c0c 100644 --- a/docs/reference/util_inverse_weibull_stats_tbl.html +++ b/docs/reference/util_inverse_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_weibull() |> util_inverse_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_weibull" diff --git a/docs/reference/util_logistic_aic.html b/docs/reference/util_logistic_aic.html index 941bad8c..559f2add 100644 --- a/docs/reference/util_logistic_aic.html +++ b/docs/reference/util_logistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_param_estimate.html b/docs/reference/util_logistic_param_estimate.html index a6f4e755..7a119848 100644 --- a/docs/reference/util_logistic_param_estimate.html +++ b/docs/reference/util_logistic_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_stats_tbl.html b/docs/reference/util_logistic_stats_tbl.html index 54096cc9..b9f2d63c 100644 --- a/docs/reference/util_logistic_stats_tbl.html +++ b/docs/reference/util_logistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_logistic() |> util_logistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_logistic" diff --git a/docs/reference/util_lognormal_aic.html b/docs/reference/util_lognormal_aic.html index ca5e00dd..27046f56 100644 --- a/docs/reference/util_lognormal_aic.html +++ b/docs/reference/util_lognormal_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_lognormal_param_estimate.html b/docs/reference/util_lognormal_param_estimate.html index dc9accc5..f1bade01 100644 --- a/docs/reference/util_lognormal_param_estimate.html +++ b/docs/reference/util_lognormal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -170,7 +170,7 @@ Examples tidy_combined_autoplot() -tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) +tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) util_lognormal_param_estimate(tb)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method mean_log sd_log shape_ratio diff --git a/docs/reference/util_lognormal_stats_tbl.html b/docs/reference/util_lognormal_stats_tbl.html index 80f5ac4d..da15ee4f 100644 --- a/docs/reference/util_lognormal_stats_tbl.html +++ b/docs/reference/util_lognormal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_lognormal() |> util_lognormal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_lognormal" diff --git a/docs/reference/util_negative_binomial_aic.html b/docs/reference/util_negative_binomial_aic.html index 8a39ec7e..33e42944 100644 --- a/docs/reference/util_negative_binomial_aic.html +++ b/docs/reference/util_negative_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_param_estimate.html b/docs/reference/util_negative_binomial_param_estimate.html index 967f2730..288ed4f0 100644 --- a/docs/reference/util_negative_binomial_param_estimate.html +++ b/docs/reference/util_negative_binomial_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_stats_tbl.html b/docs/reference/util_negative_binomial_stats_tbl.html index 13a3f691..e76734a7 100644 --- a/docs/reference/util_negative_binomial_stats_tbl.html +++ b/docs/reference/util_negative_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_negative_binomial() |> util_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_negative_binomial" diff --git a/docs/reference/util_normal_aic.html b/docs/reference/util_normal_aic.html index 546bbde2..6ff1ac68 100644 --- a/docs/reference/util_normal_aic.html +++ b/docs/reference/util_normal_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_param_estimate.html b/docs/reference/util_normal_param_estimate.html index e418d51a..dae9b6dc 100644 --- a/docs/reference/util_normal_param_estimate.html +++ b/docs/reference/util_normal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_stats_tbl.html b/docs/reference/util_normal_stats_tbl.html index b48be3df..d8930f0b 100644 --- a/docs/reference/util_normal_stats_tbl.html +++ b/docs/reference/util_normal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_normal() |> util_normal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gaussian" diff --git a/docs/reference/util_paralogistic_aic.html b/docs/reference/util_paralogistic_aic.html index 725f9635..4d44d4aa 100644 --- a/docs/reference/util_paralogistic_aic.html +++ b/docs/reference/util_paralogistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_param_estimate.html b/docs/reference/util_paralogistic_param_estimate.html index 1105e989..87fb964c 100644 --- a/docs/reference/util_paralogistic_param_estimate.html +++ b/docs/reference/util_paralogistic_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_stats_tbl.html b/docs/reference/util_paralogistic_stats_tbl.html index 8de9ab8a..118a2734 100644 --- a/docs/reference/util_paralogistic_stats_tbl.html +++ b/docs/reference/util_paralogistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -127,7 +127,7 @@ Examplesset.seed(123) tidy_paralogistic(.n = 50, .shape = 5, .rate = 6) |> util_paralogistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_paralogistic" diff --git a/docs/reference/util_pareto1_aic.html b/docs/reference/util_pareto1_aic.html index 30bb2a2d..06c382ae 100644 --- a/docs/reference/util_pareto1_aic.html +++ b/docs/reference/util_pareto1_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_param_estimate.html b/docs/reference/util_pareto1_param_estimate.html index be47ebdf..512d9c44 100644 --- a/docs/reference/util_pareto1_param_estimate.html +++ b/docs/reference/util_pareto1_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_stats_tbl.html b/docs/reference/util_pareto1_stats_tbl.html index 264cb79e..1654f253 100644 --- a/docs/reference/util_pareto1_stats_tbl.html +++ b/docs/reference/util_pareto1_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -132,7 +132,7 @@ Examples tidy_pareto1() |> util_pareto1_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto_single_parameter" diff --git a/docs/reference/util_pareto_aic.html b/docs/reference/util_pareto_aic.html index 3935513d..a459a584 100644 --- a/docs/reference/util_pareto_aic.html +++ b/docs/reference/util_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto_param_estimate.html b/docs/reference/util_pareto_param_estimate.html index b166c8af..7f508e5f 100644 --- a/docs/reference/util_pareto_param_estimate.html +++ b/docs/reference/util_pareto_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -176,7 +176,7 @@ Examples tidy_combined_autoplot() -t <- tidy_pareto(50, 1, 1) |> pull(y) +t <- tidy_pareto(50, 1, 1) |> pull(y) util_pareto_param_estimate(t)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method shape scale shape_ratio diff --git a/docs/reference/util_pareto_stats_tbl.html b/docs/reference/util_pareto_stats_tbl.html index fed5d901..e89c5040 100644 --- a/docs/reference/util_pareto_stats_tbl.html +++ b/docs/reference/util_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -136,7 +136,7 @@ Examples tidy_pareto() |> util_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto" diff --git a/docs/reference/util_poisson_aic.html b/docs/reference/util_poisson_aic.html index 7b2241f9..3b66ed50 100644 --- a/docs/reference/util_poisson_aic.html +++ b/docs/reference/util_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_param_estimate.html b/docs/reference/util_poisson_param_estimate.html index c27b7a88..b7009711 100644 --- a/docs/reference/util_poisson_param_estimate.html +++ b/docs/reference/util_poisson_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_stats_tbl.html b/docs/reference/util_poisson_stats_tbl.html index 16037c48..f4f2536e 100644 --- a/docs/reference/util_poisson_stats_tbl.html +++ b/docs/reference/util_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_poisson() |> util_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_poisson" diff --git a/docs/reference/util_t_aic.html b/docs/reference/util_t_aic.html index 8a7d7172..07cf2841 100644 --- a/docs/reference/util_t_aic.html +++ b/docs/reference/util_t_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_param_estimate.html b/docs/reference/util_t_param_estimate.html index 07caed12..e87c9558 100644 --- a/docs/reference/util_t_param_estimate.html +++ b/docs/reference/util_t_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_stats_tbl.html b/docs/reference/util_t_stats_tbl.html index 2eb8e3ef..d83e1f68 100644 --- a/docs/reference/util_t_stats_tbl.html +++ b/docs/reference/util_t_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_t() |> util_t_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_t" diff --git a/docs/reference/util_triangular_aic.html b/docs/reference/util_triangular_aic.html index 1c99bf53..84bef91e 100644 --- a/docs/reference/util_triangular_aic.html +++ b/docs/reference/util_triangular_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_param_estimate.html b/docs/reference/util_triangular_param_estimate.html index b6451547..0fd09750 100644 --- a/docs/reference/util_triangular_param_estimate.html +++ b/docs/reference/util_triangular_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_stats_tbl.html b/docs/reference/util_triangular_stats_tbl.html index 9c2e0eff..5563bc9a 100644 --- a/docs/reference/util_triangular_stats_tbl.html +++ b/docs/reference/util_triangular_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_triangular() |> util_triangular_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 19 #> $ tidy_function <chr> "tidy_triangular" diff --git a/docs/reference/util_uniform_aic.html b/docs/reference/util_uniform_aic.html index 6359b650..aca76de7 100644 --- a/docs/reference/util_uniform_aic.html +++ b/docs/reference/util_uniform_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_param_estimate.html b/docs/reference/util_uniform_param_estimate.html index 334cc677..cc5739da 100644 --- a/docs/reference/util_uniform_param_estimate.html +++ b/docs/reference/util_uniform_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_stats_tbl.html b/docs/reference/util_uniform_stats_tbl.html index 50ad2965..631b091e 100644 --- a/docs/reference/util_uniform_stats_tbl.html +++ b/docs/reference/util_uniform_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_uniform() |> util_uniform_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_uniform" diff --git a/docs/reference/util_weibull_aic.html b/docs/reference/util_weibull_aic.html index 37c5a74f..24b4911d 100644 --- a/docs/reference/util_weibull_aic.html +++ b/docs/reference/util_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_param_estimate.html b/docs/reference/util_weibull_param_estimate.html index 00ba0d39..da957364 100644 --- a/docs/reference/util_weibull_param_estimate.html +++ b/docs/reference/util_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_stats_tbl.html b/docs/reference/util_weibull_stats_tbl.html index 8ffd84fe..6a13d26e 100644 --- a/docs/reference/util_weibull_stats_tbl.html +++ b/docs/reference/util_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_weibull() |> util_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_weibull" diff --git a/docs/reference/util_zero_truncated_binomial_aic.html b/docs/reference/util_zero_truncated_binomial_aic.html index f6d7dfd9..600102c0 100644 --- a/docs/reference/util_zero_truncated_binomial_aic.html +++ b/docs/reference/util_zero_truncated_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_param_estimate.html b/docs/reference/util_zero_truncated_binomial_param_estimate.html index 4ac5326d..ed97e23a 100644 --- a/docs/reference/util_zero_truncated_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_binomial_stats_tbl.html index 80543200..ac268042 100644 --- a/docs/reference/util_zero_truncated_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -135,7 +135,7 @@ Examplesset.seed(123) tidy_zero_truncated_binomial(.size = 10, .prob = 0.1) |> util_zero_truncated_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 15 #> $ tidy_function <chr> "tidy_zero_truncated_binomial" diff --git a/docs/reference/util_zero_truncated_geometric_aic.html b/docs/reference/util_zero_truncated_geometric_aic.html index 97009878..de15aa06 100644 --- a/docs/reference/util_zero_truncated_geometric_aic.html +++ b/docs/reference/util_zero_truncated_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_param_estimate.html b/docs/reference/util_zero_truncated_geometric_param_estimate.html index 5f861c2e..81f29889 100644 --- a/docs/reference/util_zero_truncated_geometric_param_estimate.html +++ b/docs/reference/util_zero_truncated_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_stats_tbl.html b/docs/reference/util_zero_truncated_geometric_stats_tbl.html index 7ff2e70a..05a904fd 100644 --- a/docs/reference/util_zero_truncated_geometric_stats_tbl.html +++ b/docs/reference/util_zero_truncated_geometric_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_zero_truncated_geometric(.prob = 0.1) |> util_zero_truncated_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_geometric" diff --git a/docs/reference/util_zero_truncated_negative_binomial_aic.html b/docs/reference/util_zero_truncated_negative_binomial_aic.html index b4bc9746..70458756 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_aic.html +++ b/docs/reference/util_zero_truncated_negative_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html index f7a1b138..99bcce0c 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html index c6ad3dae..0a119a83 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -142,7 +142,7 @@ Examples tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |> util_zero_truncated_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_negative_binomial" diff --git a/docs/reference/util_zero_truncated_poisson_aic.html b/docs/reference/util_zero_truncated_poisson_aic.html index fa8ed9b8..066dde32 100644 --- a/docs/reference/util_zero_truncated_poisson_aic.html +++ b/docs/reference/util_zero_truncated_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_poisson_param_estimate.html b/docs/reference/util_zero_truncated_poisson_param_estimate.html index 3befee1c..0556ae01 100644 --- a/docs/reference/util_zero_truncated_poisson_param_estimate.html +++ b/docs/reference/util_zero_truncated_poisson_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -172,7 +172,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>
library(dplyr) library(ggplot2) -tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) +tg <- tidy_gamma(.shape = 1, .scale = .3) |> pull(y) output <- util_gamma_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_gamma_stats_tbl.html b/docs/reference/util_gamma_stats_tbl.html index 9a6bf86e..d7d82a05 100644 --- a/docs/reference/util_gamma_stats_tbl.html +++ b/docs/reference/util_gamma_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_gamma() |> util_gamma_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gamma" diff --git a/docs/reference/util_generalized_beta_aic.html b/docs/reference/util_generalized_beta_aic.html index 8022a031..6fa91516 100644 --- a/docs/reference/util_generalized_beta_aic.html +++ b/docs/reference/util_generalized_beta_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_param_estimate.html b/docs/reference/util_generalized_beta_param_estimate.html index e8f093c1..2529aa56 100644 --- a/docs/reference/util_generalized_beta_param_estimate.html +++ b/docs/reference/util_generalized_beta_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_beta_stats_tbl.html b/docs/reference/util_generalized_beta_stats_tbl.html index e00568ad..dea691db 100644 --- a/docs/reference/util_generalized_beta_stats_tbl.html +++ b/docs/reference/util_generalized_beta_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_generalized_beta() |> util_generalized_beta_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_generalized_beta" diff --git a/docs/reference/util_generalized_pareto_aic.html b/docs/reference/util_generalized_pareto_aic.html index 40a5cd0f..ce6f9c15 100644 --- a/docs/reference/util_generalized_pareto_aic.html +++ b/docs/reference/util_generalized_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_param_estimate.html b/docs/reference/util_generalized_pareto_param_estimate.html index f4fe3056..d10bf881 100644 --- a/docs/reference/util_generalized_pareto_param_estimate.html +++ b/docs/reference/util_generalized_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_generalized_pareto_stats_tbl.html b/docs/reference/util_generalized_pareto_stats_tbl.html index 7f8c6536..ebb3841a 100644 --- a/docs/reference/util_generalized_pareto_stats_tbl.html +++ b/docs/reference/util_generalized_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_generalized_pareto() |> util_generalized_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_generalized_pareto" diff --git a/docs/reference/util_geometric_aic.html b/docs/reference/util_geometric_aic.html index 7c360a69..7f38d139 100644 --- a/docs/reference/util_geometric_aic.html +++ b/docs/reference/util_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_geometric_param_estimate.html b/docs/reference/util_geometric_param_estimate.html index 3b272589..74eabdf2 100644 --- a/docs/reference/util_geometric_param_estimate.html +++ b/docs/reference/util_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -149,7 +149,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tg <- tidy_geometric(.prob = .1) |> pull(y) +tg <- tidy_geometric(.prob = .1) |> pull(y) output <- util_geometric_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_geometric_stats_tbl.html b/docs/reference/util_geometric_stats_tbl.html index 80b52983..5129cc71 100644 --- a/docs/reference/util_geometric_stats_tbl.html +++ b/docs/reference/util_geometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_geometric() |> util_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_geometric" diff --git a/docs/reference/util_hypergeometric_aic.html b/docs/reference/util_hypergeometric_aic.html index 1e544454..bdd0e55f 100644 --- a/docs/reference/util_hypergeometric_aic.html +++ b/docs/reference/util_hypergeometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_param_estimate.html b/docs/reference/util_hypergeometric_param_estimate.html index cccff580..a1a28c71 100644 --- a/docs/reference/util_hypergeometric_param_estimate.html +++ b/docs/reference/util_hypergeometric_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_stats_tbl.html b/docs/reference/util_hypergeometric_stats_tbl.html index 00818380..22fe2b4c 100644 --- a/docs/reference/util_hypergeometric_stats_tbl.html +++ b/docs/reference/util_hypergeometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_hypergeometric() |> util_hypergeometric_stats_tbl() |> - glimpse() + glimpse() #> Warning: NaNs produced #> Rows: 1 #> Columns: 18 diff --git a/docs/reference/util_inverse_burr_aic.html b/docs/reference/util_inverse_burr_aic.html index f500f861..8a8076e8 100644 --- a/docs/reference/util_inverse_burr_aic.html +++ b/docs/reference/util_inverse_burr_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_burr_param_estimate.html b/docs/reference/util_inverse_burr_param_estimate.html index fc3c105c..9a853649 100644 --- a/docs/reference/util_inverse_burr_param_estimate.html +++ b/docs/reference/util_inverse_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -145,7 +145,7 @@ Exampleslibrary(ggplot2) set.seed(123) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_inverse_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_inverse_burr_stats_tbl.html b/docs/reference/util_inverse_burr_stats_tbl.html index e9bb22e8..bc87f727 100644 --- a/docs/reference/util_inverse_burr_stats_tbl.html +++ b/docs/reference/util_inverse_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_burr() |> util_inverse_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_burr" diff --git a/docs/reference/util_inverse_pareto_aic.html b/docs/reference/util_inverse_pareto_aic.html index 0aad6746..c6f7dcee 100644 --- a/docs/reference/util_inverse_pareto_aic.html +++ b/docs/reference/util_inverse_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_param_estimate.html b/docs/reference/util_inverse_pareto_param_estimate.html index de644c11..4fe55d96 100644 --- a/docs/reference/util_inverse_pareto_param_estimate.html +++ b/docs/reference/util_inverse_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_stats_tbl.html b/docs/reference/util_inverse_pareto_stats_tbl.html index dbe5a59a..d4d420c0 100644 --- a/docs/reference/util_inverse_pareto_stats_tbl.html +++ b/docs/reference/util_inverse_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_inverse_pareto() |> util_inverse_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_inverse_pareto" diff --git a/docs/reference/util_inverse_weibull_aic.html b/docs/reference/util_inverse_weibull_aic.html index 509b662d..04e3d466 100644 --- a/docs/reference/util_inverse_weibull_aic.html +++ b/docs/reference/util_inverse_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_param_estimate.html b/docs/reference/util_inverse_weibull_param_estimate.html index 634c9be2..cf8d02b3 100644 --- a/docs/reference/util_inverse_weibull_param_estimate.html +++ b/docs/reference/util_inverse_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_stats_tbl.html b/docs/reference/util_inverse_weibull_stats_tbl.html index 76a4d185..43f46c0c 100644 --- a/docs/reference/util_inverse_weibull_stats_tbl.html +++ b/docs/reference/util_inverse_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_weibull() |> util_inverse_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_weibull" diff --git a/docs/reference/util_logistic_aic.html b/docs/reference/util_logistic_aic.html index 941bad8c..559f2add 100644 --- a/docs/reference/util_logistic_aic.html +++ b/docs/reference/util_logistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_param_estimate.html b/docs/reference/util_logistic_param_estimate.html index a6f4e755..7a119848 100644 --- a/docs/reference/util_logistic_param_estimate.html +++ b/docs/reference/util_logistic_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_stats_tbl.html b/docs/reference/util_logistic_stats_tbl.html index 54096cc9..b9f2d63c 100644 --- a/docs/reference/util_logistic_stats_tbl.html +++ b/docs/reference/util_logistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_logistic() |> util_logistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_logistic" diff --git a/docs/reference/util_lognormal_aic.html b/docs/reference/util_lognormal_aic.html index ca5e00dd..27046f56 100644 --- a/docs/reference/util_lognormal_aic.html +++ b/docs/reference/util_lognormal_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_lognormal_param_estimate.html b/docs/reference/util_lognormal_param_estimate.html index dc9accc5..f1bade01 100644 --- a/docs/reference/util_lognormal_param_estimate.html +++ b/docs/reference/util_lognormal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -170,7 +170,7 @@ Examples tidy_combined_autoplot() -tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) +tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) util_lognormal_param_estimate(tb)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method mean_log sd_log shape_ratio diff --git a/docs/reference/util_lognormal_stats_tbl.html b/docs/reference/util_lognormal_stats_tbl.html index 80f5ac4d..da15ee4f 100644 --- a/docs/reference/util_lognormal_stats_tbl.html +++ b/docs/reference/util_lognormal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_lognormal() |> util_lognormal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_lognormal" diff --git a/docs/reference/util_negative_binomial_aic.html b/docs/reference/util_negative_binomial_aic.html index 8a39ec7e..33e42944 100644 --- a/docs/reference/util_negative_binomial_aic.html +++ b/docs/reference/util_negative_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_param_estimate.html b/docs/reference/util_negative_binomial_param_estimate.html index 967f2730..288ed4f0 100644 --- a/docs/reference/util_negative_binomial_param_estimate.html +++ b/docs/reference/util_negative_binomial_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_stats_tbl.html b/docs/reference/util_negative_binomial_stats_tbl.html index 13a3f691..e76734a7 100644 --- a/docs/reference/util_negative_binomial_stats_tbl.html +++ b/docs/reference/util_negative_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_negative_binomial() |> util_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_negative_binomial" diff --git a/docs/reference/util_normal_aic.html b/docs/reference/util_normal_aic.html index 546bbde2..6ff1ac68 100644 --- a/docs/reference/util_normal_aic.html +++ b/docs/reference/util_normal_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_param_estimate.html b/docs/reference/util_normal_param_estimate.html index e418d51a..dae9b6dc 100644 --- a/docs/reference/util_normal_param_estimate.html +++ b/docs/reference/util_normal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_stats_tbl.html b/docs/reference/util_normal_stats_tbl.html index b48be3df..d8930f0b 100644 --- a/docs/reference/util_normal_stats_tbl.html +++ b/docs/reference/util_normal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_normal() |> util_normal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gaussian" diff --git a/docs/reference/util_paralogistic_aic.html b/docs/reference/util_paralogistic_aic.html index 725f9635..4d44d4aa 100644 --- a/docs/reference/util_paralogistic_aic.html +++ b/docs/reference/util_paralogistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_param_estimate.html b/docs/reference/util_paralogistic_param_estimate.html index 1105e989..87fb964c 100644 --- a/docs/reference/util_paralogistic_param_estimate.html +++ b/docs/reference/util_paralogistic_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_stats_tbl.html b/docs/reference/util_paralogistic_stats_tbl.html index 8de9ab8a..118a2734 100644 --- a/docs/reference/util_paralogistic_stats_tbl.html +++ b/docs/reference/util_paralogistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -127,7 +127,7 @@ Examplesset.seed(123) tidy_paralogistic(.n = 50, .shape = 5, .rate = 6) |> util_paralogistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_paralogistic" diff --git a/docs/reference/util_pareto1_aic.html b/docs/reference/util_pareto1_aic.html index 30bb2a2d..06c382ae 100644 --- a/docs/reference/util_pareto1_aic.html +++ b/docs/reference/util_pareto1_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_param_estimate.html b/docs/reference/util_pareto1_param_estimate.html index be47ebdf..512d9c44 100644 --- a/docs/reference/util_pareto1_param_estimate.html +++ b/docs/reference/util_pareto1_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_stats_tbl.html b/docs/reference/util_pareto1_stats_tbl.html index 264cb79e..1654f253 100644 --- a/docs/reference/util_pareto1_stats_tbl.html +++ b/docs/reference/util_pareto1_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -132,7 +132,7 @@ Examples tidy_pareto1() |> util_pareto1_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto_single_parameter" diff --git a/docs/reference/util_pareto_aic.html b/docs/reference/util_pareto_aic.html index 3935513d..a459a584 100644 --- a/docs/reference/util_pareto_aic.html +++ b/docs/reference/util_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto_param_estimate.html b/docs/reference/util_pareto_param_estimate.html index b166c8af..7f508e5f 100644 --- a/docs/reference/util_pareto_param_estimate.html +++ b/docs/reference/util_pareto_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -176,7 +176,7 @@ Examples tidy_combined_autoplot() -t <- tidy_pareto(50, 1, 1) |> pull(y) +t <- tidy_pareto(50, 1, 1) |> pull(y) util_pareto_param_estimate(t)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method shape scale shape_ratio diff --git a/docs/reference/util_pareto_stats_tbl.html b/docs/reference/util_pareto_stats_tbl.html index fed5d901..e89c5040 100644 --- a/docs/reference/util_pareto_stats_tbl.html +++ b/docs/reference/util_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -136,7 +136,7 @@ Examples tidy_pareto() |> util_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto" diff --git a/docs/reference/util_poisson_aic.html b/docs/reference/util_poisson_aic.html index 7b2241f9..3b66ed50 100644 --- a/docs/reference/util_poisson_aic.html +++ b/docs/reference/util_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_param_estimate.html b/docs/reference/util_poisson_param_estimate.html index c27b7a88..b7009711 100644 --- a/docs/reference/util_poisson_param_estimate.html +++ b/docs/reference/util_poisson_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_stats_tbl.html b/docs/reference/util_poisson_stats_tbl.html index 16037c48..f4f2536e 100644 --- a/docs/reference/util_poisson_stats_tbl.html +++ b/docs/reference/util_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_poisson() |> util_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_poisson" diff --git a/docs/reference/util_t_aic.html b/docs/reference/util_t_aic.html index 8a7d7172..07cf2841 100644 --- a/docs/reference/util_t_aic.html +++ b/docs/reference/util_t_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_param_estimate.html b/docs/reference/util_t_param_estimate.html index 07caed12..e87c9558 100644 --- a/docs/reference/util_t_param_estimate.html +++ b/docs/reference/util_t_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_stats_tbl.html b/docs/reference/util_t_stats_tbl.html index 2eb8e3ef..d83e1f68 100644 --- a/docs/reference/util_t_stats_tbl.html +++ b/docs/reference/util_t_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_t() |> util_t_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_t" diff --git a/docs/reference/util_triangular_aic.html b/docs/reference/util_triangular_aic.html index 1c99bf53..84bef91e 100644 --- a/docs/reference/util_triangular_aic.html +++ b/docs/reference/util_triangular_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_param_estimate.html b/docs/reference/util_triangular_param_estimate.html index b6451547..0fd09750 100644 --- a/docs/reference/util_triangular_param_estimate.html +++ b/docs/reference/util_triangular_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_stats_tbl.html b/docs/reference/util_triangular_stats_tbl.html index 9c2e0eff..5563bc9a 100644 --- a/docs/reference/util_triangular_stats_tbl.html +++ b/docs/reference/util_triangular_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_triangular() |> util_triangular_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 19 #> $ tidy_function <chr> "tidy_triangular" diff --git a/docs/reference/util_uniform_aic.html b/docs/reference/util_uniform_aic.html index 6359b650..aca76de7 100644 --- a/docs/reference/util_uniform_aic.html +++ b/docs/reference/util_uniform_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_param_estimate.html b/docs/reference/util_uniform_param_estimate.html index 334cc677..cc5739da 100644 --- a/docs/reference/util_uniform_param_estimate.html +++ b/docs/reference/util_uniform_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_stats_tbl.html b/docs/reference/util_uniform_stats_tbl.html index 50ad2965..631b091e 100644 --- a/docs/reference/util_uniform_stats_tbl.html +++ b/docs/reference/util_uniform_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_uniform() |> util_uniform_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_uniform" diff --git a/docs/reference/util_weibull_aic.html b/docs/reference/util_weibull_aic.html index 37c5a74f..24b4911d 100644 --- a/docs/reference/util_weibull_aic.html +++ b/docs/reference/util_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_param_estimate.html b/docs/reference/util_weibull_param_estimate.html index 00ba0d39..da957364 100644 --- a/docs/reference/util_weibull_param_estimate.html +++ b/docs/reference/util_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_stats_tbl.html b/docs/reference/util_weibull_stats_tbl.html index 8ffd84fe..6a13d26e 100644 --- a/docs/reference/util_weibull_stats_tbl.html +++ b/docs/reference/util_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_weibull() |> util_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_weibull" diff --git a/docs/reference/util_zero_truncated_binomial_aic.html b/docs/reference/util_zero_truncated_binomial_aic.html index f6d7dfd9..600102c0 100644 --- a/docs/reference/util_zero_truncated_binomial_aic.html +++ b/docs/reference/util_zero_truncated_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_param_estimate.html b/docs/reference/util_zero_truncated_binomial_param_estimate.html index 4ac5326d..ed97e23a 100644 --- a/docs/reference/util_zero_truncated_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_binomial_stats_tbl.html index 80543200..ac268042 100644 --- a/docs/reference/util_zero_truncated_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -135,7 +135,7 @@ Examplesset.seed(123) tidy_zero_truncated_binomial(.size = 10, .prob = 0.1) |> util_zero_truncated_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 15 #> $ tidy_function <chr> "tidy_zero_truncated_binomial" diff --git a/docs/reference/util_zero_truncated_geometric_aic.html b/docs/reference/util_zero_truncated_geometric_aic.html index 97009878..de15aa06 100644 --- a/docs/reference/util_zero_truncated_geometric_aic.html +++ b/docs/reference/util_zero_truncated_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_param_estimate.html b/docs/reference/util_zero_truncated_geometric_param_estimate.html index 5f861c2e..81f29889 100644 --- a/docs/reference/util_zero_truncated_geometric_param_estimate.html +++ b/docs/reference/util_zero_truncated_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_stats_tbl.html b/docs/reference/util_zero_truncated_geometric_stats_tbl.html index 7ff2e70a..05a904fd 100644 --- a/docs/reference/util_zero_truncated_geometric_stats_tbl.html +++ b/docs/reference/util_zero_truncated_geometric_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_zero_truncated_geometric(.prob = 0.1) |> util_zero_truncated_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_geometric" diff --git a/docs/reference/util_zero_truncated_negative_binomial_aic.html b/docs/reference/util_zero_truncated_negative_binomial_aic.html index b4bc9746..70458756 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_aic.html +++ b/docs/reference/util_zero_truncated_negative_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html index f7a1b138..99bcce0c 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html index c6ad3dae..0a119a83 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -142,7 +142,7 @@ Examples tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |> util_zero_truncated_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_negative_binomial" diff --git a/docs/reference/util_zero_truncated_poisson_aic.html b/docs/reference/util_zero_truncated_poisson_aic.html index fa8ed9b8..066dde32 100644 --- a/docs/reference/util_zero_truncated_poisson_aic.html +++ b/docs/reference/util_zero_truncated_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_poisson_param_estimate.html b/docs/reference/util_zero_truncated_poisson_param_estimate.html index 3befee1c..0556ae01 100644 --- a/docs/reference/util_zero_truncated_poisson_param_estimate.html +++ b/docs/reference/util_zero_truncated_poisson_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -172,7 +172,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>
library(dplyr) library(ggplot2) -tg <- tidy_geometric(.prob = .1) |> pull(y) +tg <- tidy_geometric(.prob = .1) |> pull(y) output <- util_geometric_param_estimate(tg) output$parameter_tbl diff --git a/docs/reference/util_geometric_stats_tbl.html b/docs/reference/util_geometric_stats_tbl.html index 80b52983..5129cc71 100644 --- a/docs/reference/util_geometric_stats_tbl.html +++ b/docs/reference/util_geometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_geometric() |> util_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_geometric" diff --git a/docs/reference/util_hypergeometric_aic.html b/docs/reference/util_hypergeometric_aic.html index 1e544454..bdd0e55f 100644 --- a/docs/reference/util_hypergeometric_aic.html +++ b/docs/reference/util_hypergeometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_param_estimate.html b/docs/reference/util_hypergeometric_param_estimate.html index cccff580..a1a28c71 100644 --- a/docs/reference/util_hypergeometric_param_estimate.html +++ b/docs/reference/util_hypergeometric_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_hypergeometric_stats_tbl.html b/docs/reference/util_hypergeometric_stats_tbl.html index 00818380..22fe2b4c 100644 --- a/docs/reference/util_hypergeometric_stats_tbl.html +++ b/docs/reference/util_hypergeometric_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_hypergeometric() |> util_hypergeometric_stats_tbl() |> - glimpse() + glimpse() #> Warning: NaNs produced #> Rows: 1 #> Columns: 18 diff --git a/docs/reference/util_inverse_burr_aic.html b/docs/reference/util_inverse_burr_aic.html index f500f861..8a8076e8 100644 --- a/docs/reference/util_inverse_burr_aic.html +++ b/docs/reference/util_inverse_burr_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_burr_param_estimate.html b/docs/reference/util_inverse_burr_param_estimate.html index fc3c105c..9a853649 100644 --- a/docs/reference/util_inverse_burr_param_estimate.html +++ b/docs/reference/util_inverse_burr_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -145,7 +145,7 @@ Exampleslibrary(ggplot2) set.seed(123) -tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) +tb <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = .3) |> pull(y) output <- util_inverse_burr_param_estimate(tb) output$parameter_tbl diff --git a/docs/reference/util_inverse_burr_stats_tbl.html b/docs/reference/util_inverse_burr_stats_tbl.html index e9bb22e8..bc87f727 100644 --- a/docs/reference/util_inverse_burr_stats_tbl.html +++ b/docs/reference/util_inverse_burr_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_burr() |> util_inverse_burr_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_burr" diff --git a/docs/reference/util_inverse_pareto_aic.html b/docs/reference/util_inverse_pareto_aic.html index 0aad6746..c6f7dcee 100644 --- a/docs/reference/util_inverse_pareto_aic.html +++ b/docs/reference/util_inverse_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_param_estimate.html b/docs/reference/util_inverse_pareto_param_estimate.html index de644c11..4fe55d96 100644 --- a/docs/reference/util_inverse_pareto_param_estimate.html +++ b/docs/reference/util_inverse_pareto_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_pareto_stats_tbl.html b/docs/reference/util_inverse_pareto_stats_tbl.html index dbe5a59a..d4d420c0 100644 --- a/docs/reference/util_inverse_pareto_stats_tbl.html +++ b/docs/reference/util_inverse_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_inverse_pareto() |> util_inverse_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_inverse_pareto" diff --git a/docs/reference/util_inverse_weibull_aic.html b/docs/reference/util_inverse_weibull_aic.html index 509b662d..04e3d466 100644 --- a/docs/reference/util_inverse_weibull_aic.html +++ b/docs/reference/util_inverse_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_param_estimate.html b/docs/reference/util_inverse_weibull_param_estimate.html index 634c9be2..cf8d02b3 100644 --- a/docs/reference/util_inverse_weibull_param_estimate.html +++ b/docs/reference/util_inverse_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_inverse_weibull_stats_tbl.html b/docs/reference/util_inverse_weibull_stats_tbl.html index 76a4d185..43f46c0c 100644 --- a/docs/reference/util_inverse_weibull_stats_tbl.html +++ b/docs/reference/util_inverse_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_inverse_weibull() |> util_inverse_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_inverse_weibull" diff --git a/docs/reference/util_logistic_aic.html b/docs/reference/util_logistic_aic.html index 941bad8c..559f2add 100644 --- a/docs/reference/util_logistic_aic.html +++ b/docs/reference/util_logistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_param_estimate.html b/docs/reference/util_logistic_param_estimate.html index a6f4e755..7a119848 100644 --- a/docs/reference/util_logistic_param_estimate.html +++ b/docs/reference/util_logistic_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_logistic_stats_tbl.html b/docs/reference/util_logistic_stats_tbl.html index 54096cc9..b9f2d63c 100644 --- a/docs/reference/util_logistic_stats_tbl.html +++ b/docs/reference/util_logistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_logistic() |> util_logistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_logistic" diff --git a/docs/reference/util_lognormal_aic.html b/docs/reference/util_lognormal_aic.html index ca5e00dd..27046f56 100644 --- a/docs/reference/util_lognormal_aic.html +++ b/docs/reference/util_lognormal_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_lognormal_param_estimate.html b/docs/reference/util_lognormal_param_estimate.html index dc9accc5..f1bade01 100644 --- a/docs/reference/util_lognormal_param_estimate.html +++ b/docs/reference/util_lognormal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -170,7 +170,7 @@ Examples tidy_combined_autoplot() -tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) +tb <- tidy_lognormal(.meanlog = 2, .sdlog = 1) |> pull(y) util_lognormal_param_estimate(tb)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method mean_log sd_log shape_ratio diff --git a/docs/reference/util_lognormal_stats_tbl.html b/docs/reference/util_lognormal_stats_tbl.html index 80f5ac4d..da15ee4f 100644 --- a/docs/reference/util_lognormal_stats_tbl.html +++ b/docs/reference/util_lognormal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_lognormal() |> util_lognormal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 18 #> $ tidy_function <chr> "tidy_lognormal" diff --git a/docs/reference/util_negative_binomial_aic.html b/docs/reference/util_negative_binomial_aic.html index 8a39ec7e..33e42944 100644 --- a/docs/reference/util_negative_binomial_aic.html +++ b/docs/reference/util_negative_binomial_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_param_estimate.html b/docs/reference/util_negative_binomial_param_estimate.html index 967f2730..288ed4f0 100644 --- a/docs/reference/util_negative_binomial_param_estimate.html +++ b/docs/reference/util_negative_binomial_param_estimate.html @@ -28,7 +28,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_negative_binomial_stats_tbl.html b/docs/reference/util_negative_binomial_stats_tbl.html index 13a3f691..e76734a7 100644 --- a/docs/reference/util_negative_binomial_stats_tbl.html +++ b/docs/reference/util_negative_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_negative_binomial() |> util_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_negative_binomial" diff --git a/docs/reference/util_normal_aic.html b/docs/reference/util_normal_aic.html index 546bbde2..6ff1ac68 100644 --- a/docs/reference/util_normal_aic.html +++ b/docs/reference/util_normal_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_param_estimate.html b/docs/reference/util_normal_param_estimate.html index e418d51a..dae9b6dc 100644 --- a/docs/reference/util_normal_param_estimate.html +++ b/docs/reference/util_normal_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_normal_stats_tbl.html b/docs/reference/util_normal_stats_tbl.html index b48be3df..d8930f0b 100644 --- a/docs/reference/util_normal_stats_tbl.html +++ b/docs/reference/util_normal_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_normal() |> util_normal_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_gaussian" diff --git a/docs/reference/util_paralogistic_aic.html b/docs/reference/util_paralogistic_aic.html index 725f9635..4d44d4aa 100644 --- a/docs/reference/util_paralogistic_aic.html +++ b/docs/reference/util_paralogistic_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_param_estimate.html b/docs/reference/util_paralogistic_param_estimate.html index 1105e989..87fb964c 100644 --- a/docs/reference/util_paralogistic_param_estimate.html +++ b/docs/reference/util_paralogistic_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_paralogistic_stats_tbl.html b/docs/reference/util_paralogistic_stats_tbl.html index 8de9ab8a..118a2734 100644 --- a/docs/reference/util_paralogistic_stats_tbl.html +++ b/docs/reference/util_paralogistic_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -127,7 +127,7 @@ Examplesset.seed(123) tidy_paralogistic(.n = 50, .shape = 5, .rate = 6) |> util_paralogistic_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_paralogistic" diff --git a/docs/reference/util_pareto1_aic.html b/docs/reference/util_pareto1_aic.html index 30bb2a2d..06c382ae 100644 --- a/docs/reference/util_pareto1_aic.html +++ b/docs/reference/util_pareto1_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_param_estimate.html b/docs/reference/util_pareto1_param_estimate.html index be47ebdf..512d9c44 100644 --- a/docs/reference/util_pareto1_param_estimate.html +++ b/docs/reference/util_pareto1_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto1_stats_tbl.html b/docs/reference/util_pareto1_stats_tbl.html index 264cb79e..1654f253 100644 --- a/docs/reference/util_pareto1_stats_tbl.html +++ b/docs/reference/util_pareto1_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -132,7 +132,7 @@ Examples tidy_pareto1() |> util_pareto1_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto_single_parameter" diff --git a/docs/reference/util_pareto_aic.html b/docs/reference/util_pareto_aic.html index 3935513d..a459a584 100644 --- a/docs/reference/util_pareto_aic.html +++ b/docs/reference/util_pareto_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_pareto_param_estimate.html b/docs/reference/util_pareto_param_estimate.html index b166c8af..7f508e5f 100644 --- a/docs/reference/util_pareto_param_estimate.html +++ b/docs/reference/util_pareto_param_estimate.html @@ -26,7 +26,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -176,7 +176,7 @@ Examples tidy_combined_autoplot() -t <- tidy_pareto(50, 1, 1) |> pull(y) +t <- tidy_pareto(50, 1, 1) |> pull(y) util_pareto_param_estimate(t)$parameter_tbl #> # A tibble: 2 × 8 #> dist_type samp_size min max method shape scale shape_ratio diff --git a/docs/reference/util_pareto_stats_tbl.html b/docs/reference/util_pareto_stats_tbl.html index fed5d901..e89c5040 100644 --- a/docs/reference/util_pareto_stats_tbl.html +++ b/docs/reference/util_pareto_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -136,7 +136,7 @@ Examples tidy_pareto() |> util_pareto_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_pareto" diff --git a/docs/reference/util_poisson_aic.html b/docs/reference/util_poisson_aic.html index 7b2241f9..3b66ed50 100644 --- a/docs/reference/util_poisson_aic.html +++ b/docs/reference/util_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_param_estimate.html b/docs/reference/util_poisson_param_estimate.html index c27b7a88..b7009711 100644 --- a/docs/reference/util_poisson_param_estimate.html +++ b/docs/reference/util_poisson_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_poisson_stats_tbl.html b/docs/reference/util_poisson_stats_tbl.html index 16037c48..f4f2536e 100644 --- a/docs/reference/util_poisson_stats_tbl.html +++ b/docs/reference/util_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_poisson() |> util_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_poisson" diff --git a/docs/reference/util_t_aic.html b/docs/reference/util_t_aic.html index 8a7d7172..07cf2841 100644 --- a/docs/reference/util_t_aic.html +++ b/docs/reference/util_t_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_param_estimate.html b/docs/reference/util_t_param_estimate.html index 07caed12..e87c9558 100644 --- a/docs/reference/util_t_param_estimate.html +++ b/docs/reference/util_t_param_estimate.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_t_stats_tbl.html b/docs/reference/util_t_stats_tbl.html index 2eb8e3ef..d83e1f68 100644 --- a/docs/reference/util_t_stats_tbl.html +++ b/docs/reference/util_t_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -129,7 +129,7 @@ Examples tidy_t() |> util_t_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_t" diff --git a/docs/reference/util_triangular_aic.html b/docs/reference/util_triangular_aic.html index 1c99bf53..84bef91e 100644 --- a/docs/reference/util_triangular_aic.html +++ b/docs/reference/util_triangular_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_param_estimate.html b/docs/reference/util_triangular_param_estimate.html index b6451547..0fd09750 100644 --- a/docs/reference/util_triangular_param_estimate.html +++ b/docs/reference/util_triangular_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_triangular_stats_tbl.html b/docs/reference/util_triangular_stats_tbl.html index 9c2e0eff..5563bc9a 100644 --- a/docs/reference/util_triangular_stats_tbl.html +++ b/docs/reference/util_triangular_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_triangular() |> util_triangular_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 19 #> $ tidy_function <chr> "tidy_triangular" diff --git a/docs/reference/util_uniform_aic.html b/docs/reference/util_uniform_aic.html index 6359b650..aca76de7 100644 --- a/docs/reference/util_uniform_aic.html +++ b/docs/reference/util_uniform_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_param_estimate.html b/docs/reference/util_uniform_param_estimate.html index 334cc677..cc5739da 100644 --- a/docs/reference/util_uniform_param_estimate.html +++ b/docs/reference/util_uniform_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_uniform_stats_tbl.html b/docs/reference/util_uniform_stats_tbl.html index 50ad2965..631b091e 100644 --- a/docs/reference/util_uniform_stats_tbl.html +++ b/docs/reference/util_uniform_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examples tidy_uniform() |> util_uniform_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_uniform" diff --git a/docs/reference/util_weibull_aic.html b/docs/reference/util_weibull_aic.html index 37c5a74f..24b4911d 100644 --- a/docs/reference/util_weibull_aic.html +++ b/docs/reference/util_weibull_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_param_estimate.html b/docs/reference/util_weibull_param_estimate.html index 00ba0d39..da957364 100644 --- a/docs/reference/util_weibull_param_estimate.html +++ b/docs/reference/util_weibull_param_estimate.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_weibull_stats_tbl.html b/docs/reference/util_weibull_stats_tbl.html index 8ffd84fe..6a13d26e 100644 --- a/docs/reference/util_weibull_stats_tbl.html +++ b/docs/reference/util_weibull_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -131,7 +131,7 @@ Examples tidy_weibull() |> util_weibull_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 16 #> $ tidy_function <chr> "tidy_weibull" diff --git a/docs/reference/util_zero_truncated_binomial_aic.html b/docs/reference/util_zero_truncated_binomial_aic.html index f6d7dfd9..600102c0 100644 --- a/docs/reference/util_zero_truncated_binomial_aic.html +++ b/docs/reference/util_zero_truncated_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_param_estimate.html b/docs/reference/util_zero_truncated_binomial_param_estimate.html index 4ac5326d..ed97e23a 100644 --- a/docs/reference/util_zero_truncated_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_binomial_stats_tbl.html index 80543200..ac268042 100644 --- a/docs/reference/util_zero_truncated_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_binomial_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -135,7 +135,7 @@ Examplesset.seed(123) tidy_zero_truncated_binomial(.size = 10, .prob = 0.1) |> util_zero_truncated_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 15 #> $ tidy_function <chr> "tidy_zero_truncated_binomial" diff --git a/docs/reference/util_zero_truncated_geometric_aic.html b/docs/reference/util_zero_truncated_geometric_aic.html index 97009878..de15aa06 100644 --- a/docs/reference/util_zero_truncated_geometric_aic.html +++ b/docs/reference/util_zero_truncated_geometric_aic.html @@ -14,7 +14,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_param_estimate.html b/docs/reference/util_zero_truncated_geometric_param_estimate.html index 5f861c2e..81f29889 100644 --- a/docs/reference/util_zero_truncated_geometric_param_estimate.html +++ b/docs/reference/util_zero_truncated_geometric_param_estimate.html @@ -18,7 +18,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_geometric_stats_tbl.html b/docs/reference/util_zero_truncated_geometric_stats_tbl.html index 7ff2e70a..05a904fd 100644 --- a/docs/reference/util_zero_truncated_geometric_stats_tbl.html +++ b/docs/reference/util_zero_truncated_geometric_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -130,7 +130,7 @@ Examplesset.seed(123) tidy_zero_truncated_geometric(.prob = 0.1) |> util_zero_truncated_geometric_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_geometric" diff --git a/docs/reference/util_zero_truncated_negative_binomial_aic.html b/docs/reference/util_zero_truncated_negative_binomial_aic.html index b4bc9746..70458756 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_aic.html +++ b/docs/reference/util_zero_truncated_negative_binomial_aic.html @@ -16,7 +16,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html index f7a1b138..99bcce0c 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html +++ b/docs/reference/util_zero_truncated_negative_binomial_param_estimate.html @@ -24,7 +24,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html index c6ad3dae..0a119a83 100644 --- a/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html +++ b/docs/reference/util_zero_truncated_negative_binomial_stats_tbl.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -142,7 +142,7 @@ Examples tidy_zero_truncated_negative_binomial(.size = 1, .prob = 0.1) |> util_zero_truncated_negative_binomial_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_negative_binomial" diff --git a/docs/reference/util_zero_truncated_poisson_aic.html b/docs/reference/util_zero_truncated_poisson_aic.html index fa8ed9b8..066dde32 100644 --- a/docs/reference/util_zero_truncated_poisson_aic.html +++ b/docs/reference/util_zero_truncated_poisson_aic.html @@ -12,7 +12,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 diff --git a/docs/reference/util_zero_truncated_poisson_param_estimate.html b/docs/reference/util_zero_truncated_poisson_param_estimate.html index 3befee1c..0556ae01 100644 --- a/docs/reference/util_zero_truncated_poisson_param_estimate.html +++ b/docs/reference/util_zero_truncated_poisson_param_estimate.html @@ -20,7 +20,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -172,7 +172,7 @@ Exampleslibrary(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>
library(dplyr) library(ggplot2) -tc <- tidy_zero_truncated_poisson() |> pull(y) +tc <- tidy_zero_truncated_poisson() |> pull(y) output <- util_zero_truncated_poisson_param_estimate(tc) output$parameter_tbl diff --git a/docs/reference/util_zero_truncated_poisson_stats_tbl.html b/docs/reference/util_zero_truncated_poisson_stats_tbl.html index e9699586..49a74080 100644 --- a/docs/reference/util_zero_truncated_poisson_stats_tbl.html +++ b/docs/reference/util_zero_truncated_poisson_stats_tbl.html @@ -10,7 +10,7 @@ TidyDensity - 1.4.0.9000 + 1.5.0.9000 @@ -133,7 +133,7 @@ Examples tidy_zero_truncated_poisson() |> util_zero_truncated_poisson_stats_tbl() |> - glimpse() + glimpse() #> Rows: 1 #> Columns: 17 #> $ tidy_function <chr> "tidy_zero_truncated_poisson" diff --git a/docs/search.json b/docs/search.json index c4e8ea61..d7b01cae 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"https://www.spsanderson.com/TidyDensity/articles/getting-started.html","id":"example","dir":"Articles","previous_headings":"","what":"Example","title":"Getting Started with TidyDensity","text":"basic example shows easy generate data TidyDensity: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 -1.40 -3.47 0.000263 0.0808 -1.40 #> 2 1 2 0.255 -3.32 0.000879 0.601 0.255 #> 3 1 3 -2.44 -3.17 0.00246 0.00740 -2.44 #> 4 1 4 -0.00557 -3.02 0.00581 0.498 -0.00557 #> 5 1 5 0.622 -2.88 0.0118 0.733 0.622 #> 6 1 6 1.15 -2.73 0.0209 0.875 1.15 #> 7 1 7 -1.82 -2.58 0.0338 0.0342 -1.82 #> 8 1 8 -0.247 -2.43 0.0513 0.402 -0.247 #> 9 1 9 -0.244 -2.28 0.0742 0.404 -0.244 #> 10 1 10 -0.283 -2.14 0.102 0.389 -0.283 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Steven Sanderson. Author, maintainer, copyright holder.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sanderson S (2024). TidyDensity: Functions Tidy Analysis Generation Random Data. R package version 1.4.0.9000, https://github.com/spsanderson/TidyDensity.","code":"@Manual{, title = {TidyDensity: Functions for Tidy Analysis and Generation of Random Data}, author = {Steven Sanderson}, year = {2024}, note = {R package version 1.4.0.9000}, url = {https://github.com/spsanderson/TidyDensity}, }"},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement spsanderson@gmail.com. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.0, available https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines inspired Mozilla’s code conduct enforcement ladder. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"tidydensity-","dir":"","previous_headings":"","what":"Functions for Tidy Analysis and Generation of Random Data","title":"Functions for Tidy Analysis and Generation of Random Data","text":"goal TidyDensity make working random numbers different distributions easy. tidy_ distribution functions provide following components: [r_] [d_] [q_] [p_]","code":""},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Tidy Analysis and Generation of Random Data","text":"can install released version TidyDensity CRAN : development version GitHub :","code":"install.packages(\"TidyDensity\") # install.packages(\"devtools\") devtools::install_github(\"spsanderson/TidyDensity\")"},{"path":"https://www.spsanderson.com/TidyDensity/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Functions for Tidy Analysis and Generation of Random Data","text":"basic example shows solve common problem: example plot tidy_normal data. can also take look plots number simulations greater nine. automatically turn legend become noisy.","code":"library(TidyDensity) library(dplyr) library(ggplot2) tidy_normal() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0.227 -2.97 0.000238 0.590 0.227 #> 2 1 2 1.12 -2.84 0.000640 0.869 1.12 #> 3 1 3 1.26 -2.71 0.00153 0.897 1.26 #> 4 1 4 0.204 -2.58 0.00326 0.581 0.204 #> 5 1 5 1.04 -2.44 0.00620 0.852 1.04 #> 6 1 6 -0.180 -2.31 0.0106 0.429 -0.180 #> 7 1 7 0.299 -2.18 0.0167 0.618 0.299 #> 8 1 8 1.73 -2.04 0.0243 0.959 1.73 #> 9 1 9 -0.770 -1.91 0.0338 0.221 -0.770 #> 10 1 10 0.385 -1.78 0.0463 0.650 0.385 #> # ℹ 40 more rows tn <- tidy_normal(.n = 100, .num_sims = 6) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\") tn <- tidy_normal(.n = 100, .num_sims = 20) tidy_autoplot(tn, .plot_type = \"density\") tidy_autoplot(tn, .plot_type = \"quantile\") tidy_autoplot(tn, .plot_type = \"probability\") tidy_autoplot(tn, .plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022 Steven Paul Sandeson II, MPH Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Density Tibble — bootstrap_density_augment","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Add density information output tidy_bootstrap(), bootstrap_unnest_tbl().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"bootstrap_density_augment(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":".data data passed tidy_bootstrap() bootstrap_unnest_tbl() functions.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"function takes input output tidy_bootstrap() bootstrap_unnest_tbl() returns augmented tibble following columns added : x, y, dx, dy. looks attribute comes using tidy_bootstrap() bootstrap_unnest_tbl() work unless data comes one functions.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_density_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Density Tibble — bootstrap_density_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 17.3 6.48 0.000412 #> 2 1 2 15.2 7.33 0.00231 #> 3 1 3 16.4 8.17 0.00856 #> 4 1 4 15 9.01 0.0209 #> 5 1 5 18.7 9.86 0.0340 #> 6 1 6 18.1 10.7 0.0376 #> 7 1 7 10.4 11.5 0.0316 #> 8 1 8 10.4 12.4 0.0286 #> 9 1 9 15 13.2 0.0391 #> 10 1 10 21.4 14.1 0.0607 #> # ℹ 49,990 more rows tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_density_augment() #> # A tibble: 50,000 × 5 #> sim_number x y dx dy #> #> 1 1 1 14.7 6.80 0.000150 #> 2 1 2 21.5 8.08 0.00206 #> 3 1 3 19.2 9.36 0.00914 #> 4 1 4 26 10.6 0.0131 #> 5 1 5 22.8 11.9 0.00739 #> 6 1 6 15 13.2 0.0114 #> 7 1 7 19.2 14.5 0.0272 #> 8 1 8 21 15.8 0.0365 #> 9 1 9 21 17.0 0.0609 #> 10 1 10 17.3 18.3 0.0977 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap P — bootstrap_p_augment","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"bootstrap_p_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap P — bootstrap_p_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap P — bootstrap_p_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Takes numeric vector return ecdf probability vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap P — bootstrap_p_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap P — bootstrap_p_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_p_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y p #> #> 1 1 21.4 0.687 #> 2 1 21.5 0.716 #> 3 1 18.7 0.467 #> 4 1 30.4 0.936 #> 5 1 13.3 0.0944 #> 6 1 21.5 0.716 #> 7 1 19.2 0.529 #> 8 1 19.2 0.529 #> 9 1 21.4 0.687 #> 10 1 21.4 0.687 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap P of a Vector — bootstrap_p_vec","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function takes vector input return ecdf probability vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"bootstrap_p_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"function return ecdf probability vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_p_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap P of a Vector — bootstrap_p_vec","text":"","code":"x <- mtcars$mpg bootstrap_p_vec(x) #> [1] 0.62500 0.62500 0.78125 0.68750 0.46875 0.43750 0.12500 0.81250 0.78125 #> [10] 0.53125 0.40625 0.34375 0.37500 0.25000 0.06250 0.06250 0.15625 0.96875 #> [19] 0.93750 1.00000 0.71875 0.28125 0.25000 0.09375 0.53125 0.87500 0.84375 #> [28] 0.93750 0.31250 0.56250 0.18750 0.68750"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":null,"dir":"Reference","previous_headings":"","what":"Augment Bootstrap Q — bootstrap_q_augment","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"bootstrap_q_augment(.data, .value, .names = \"auto\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Augment Bootstrap Q — bootstrap_q_augment","text":".data data passed augmented function. .value passed rlang::enquo() capture vectors want augment. .names default \"auto\"","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"augmented tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Takes numeric vector return quantile vector. function intended used order add columns tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_augment.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Augment Bootstrap Q — bootstrap_q_augment","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_unnest_tbl() |> bootstrap_q_augment(y) #> # A tibble: 50,000 × 3 #> sim_number y q #> #> 1 1 21 10.4 #> 2 1 10.4 10.4 #> 3 1 21.4 10.4 #> 4 1 30.4 10.4 #> 5 1 30.4 10.4 #> 6 1 15.2 10.4 #> 7 1 21.5 10.4 #> 8 1 33.9 10.4 #> 9 1 18.1 10.4 #> 10 1 21 10.4 #> # ℹ 49,990 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":null,"dir":"Reference","previous_headings":"","what":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function takes vector input return quantile vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"bootstrap_q_vec(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":".x numeric","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"function return quantile vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_q_vec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Compute Bootstrap Q of a Vector — bootstrap_q_vec","text":"","code":"x <- mtcars$mpg bootstrap_q_vec(x) #> [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7 #> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4 #> [31] 32.4 33.9"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Bootstrap Stat Plot — bootstrap_stat_plot","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function produces plot cumulative statistic function applied bootstrap variable tidy_bootstrap() bootstrap_unnest_tbl() applied .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"bootstrap_stat_plot( .data, .value, .stat = \"cmean\", .show_groups = FALSE, .show_ci_labels = TRUE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":".data data comes either tidy_bootstrap() bootstrap_unnest_tbl() applied . .value value column calculations applied . .stat cumulative statistic function applied .value column. must quoted. default \"cmean\". .show_groups default FALSE, set TRUE get output simulations bootstrap data. .show_ci_labels default TRUE, show last value upper lower quantile. .interactive default FALSE, set TRUE get plotly plot object back.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"plot either ggplot2 plotly.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"function take data either tidy_bootstrap() directly apply bootstrap_unnest_tbl() output. several different cumulative functions can applied data.accepted values : \"cmean\" - Cumulative Mean \"chmean\" - Cumulative Harmonic Mean \"cgmean\" - Cumulative Geometric Mean \"csum\" = Cumulative Sum \"cmedian\" = Cumulative Median \"cmax\" = Cumulative Max \"cmin\" = Cumulative Min \"cprod\" = Cumulative Product \"csd\" = Cumulative Standard Deviation \"cvar\" = Cumulative Variance \"cskewness\" = Cumulative Skewness \"ckurtosis\" = Cumulative Kurtotsis","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_stat_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Bootstrap Stat Plot — bootstrap_stat_plot","text":"","code":"x <- mtcars$mpg tidy_bootstrap(x) |> bootstrap_stat_plot(y, \"cmean\") tidy_bootstrap(x, .num_sims = 10) |> bootstrap_stat_plot(y, .stat = \"chmean\", .show_groups = TRUE, .show_ci_label = FALSE ) #> Warning: Setting '.num_sims' to less than 2000 means that results can be potentially #> unstable. Consider setting to 2000 or more."},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":null,"dir":"Reference","previous_headings":"","what":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Unnest data output tidy_bootstrap().","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"bootstrap_unnest_tbl(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":".data data passed tidy_bootstrap() function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"tibble","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"function takes input output tidy_bootstrap() function returns two column tibble. columns sim_number y looks attribute comes using tidy_bootstrap() work unless data comes function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/bootstrap_unnest_tbl.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Unnest Tidy Bootstrap Tibble — bootstrap_unnest_tbl","text":"","code":"tb <- tidy_bootstrap(.x = mtcars$mpg) bootstrap_unnest_tbl(tb) #> # A tibble: 50,000 × 2 #> sim_number y #> #> 1 1 21.4 #> 2 1 21 #> 3 1 26 #> 4 1 19.7 #> 5 1 10.4 #> 6 1 15.5 #> 7 1 32.4 #> 8 1 22.8 #> 9 1 26 #> 10 1 17.3 #> # ℹ 49,990 more rows bootstrap_unnest_tbl(tb) |> tidy_distribution_summary_tbl(sim_number) #> # A tibble: 2,000 × 13 #> sim_number mean_val median_val std_val min_val max_val skewness kurtosis #> #> 1 1 18.3 18.7 5.85 10.4 32.4 0.410 2.75 #> 2 2 19.2 18.1 4.73 10.4 30.4 0.909 3.75 #> 3 3 21.7 19.2 6.68 10.4 33.9 0.689 2.40 #> 4 4 20.3 19.2 5.72 10.4 32.4 0.567 2.46 #> 5 5 20.8 21.4 6.93 10.4 33.9 0.431 2.22 #> 6 6 23.1 21.4 6.97 10.4 33.9 0.00625 1.68 #> 7 7 23.1 21.4 5.94 10.4 33.9 0.119 2.74 #> 8 8 19.5 21 5.84 10.4 33.9 0.349 2.83 #> 9 9 20.1 18.1 6.71 10.4 33.9 0.887 2.75 #> 10 10 19.6 19.2 5.04 10.4 33.9 0.732 3.84 #> # ℹ 1,990 more rows #> # ℹ 5 more variables: range , iqr , variance , ci_low , #> # ci_high "},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Geometric Mean — cgmean","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Geometric Mean — cgmean","text":"","code":"cgmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Geometric Mean — cgmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Geometric Mean — cgmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Geometric Mean — cgmean","text":"function return cumulative geometric mean vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Geometric Mean — cgmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cgmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Geometric Mean — cgmean","text":"","code":"x <- mtcars$mpg cgmean(x) #> [1] 21.00000 21.00000 21.58363 21.53757 20.93755 20.43547 19.41935 19.98155 #> [9] 20.27666 20.16633 19.93880 19.61678 19.42805 19.09044 18.33287 17.69470 #> [17] 17.50275 18.11190 18.61236 19.17879 19.28342 19.09293 18.90457 18.62961 #> [25] 18.65210 18.92738 19.15126 19.46993 19.33021 19.34242 19.18443 19.25006"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":null,"dir":"Reference","previous_headings":"","what":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"check_duplicate_rows(.data)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":".data data frame.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"logical vector indicating whether row duplicate .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"function checks duplicate rows comparing row data frame every row. row identical another row, considered duplicate.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/check_duplicate_rows.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check for Duplicate Rows in a Data Frame — check_duplicate_rows","text":"","code":"data <- data.frame( x = c(1, 2, 3, 1), y = c(2, 3, 4, 2), z = c(3, 2, 5, 3) ) check_duplicate_rows(data) #> [1] FALSE TRUE FALSE FALSE"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Harmonic Mean — chmean","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Harmonic Mean — chmean","text":"","code":"chmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Harmonic Mean — chmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Harmonic Mean — chmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Harmonic Mean — chmean","text":"function return cumulative harmonic mean vector. 1 / (cumsum(1 / .x))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Harmonic Mean — chmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/chmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Harmonic Mean — chmean","text":"","code":"x <- mtcars$mpg chmean(x) #> [1] 21.0000000 10.5000000 7.1891892 5.3813575 4.1788087 3.3949947 #> [7] 2.7436247 2.4663044 2.2255626 1.9943841 1.7934398 1.6166494 #> [13] 1.4784877 1.3474251 1.1928760 1.0701322 0.9975150 0.9677213 #> [19] 0.9378663 0.9126181 0.8754572 0.8286539 0.7858140 0.7419753 #> [25] 0.7143688 0.6961523 0.6779989 0.6632076 0.6364908 0.6165699 #> [31] 0.5922267 0.5762786"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_hi","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_hi","text":"","code":"ci_hi(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_hi","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_hi","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_hi","text":"Gets upper 97.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_hi","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_hi.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_hi","text":"","code":"x <- mtcars$mpg ci_hi(x) #> [1] 32.7375"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence Interval Generic — ci_lo","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence Interval Generic — ci_lo","text":"","code":"ci_lo(.x, .na_rm = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence Interval Generic — ci_lo","text":".x vector numeric values .na_rm Boolean, defaults FALSE. Passed quantile function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence Interval Generic — ci_lo","text":"numeric value.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Confidence Interval Generic — ci_lo","text":"Gets lower 2.5% quantile numeric vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Confidence Interval Generic — ci_lo","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ci_lo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence Interval Generic — ci_lo","text":"","code":"x <- mtcars$mpg ci_lo(x) #> [1] 10.4"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Kurtosis — ckurtosis","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"ckurtosis(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Kurtosis — ckurtosis","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Kurtosis — ckurtosis","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Kurtosis — ckurtosis","text":"function return cumulative kurtosis vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Kurtosis — ckurtosis","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/ckurtosis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Kurtosis — ckurtosis","text":"","code":"x <- mtcars$mpg ckurtosis(x) #> [1] NaN NaN 1.500000 2.189216 2.518932 1.786006 2.744467 2.724675 #> [9] 2.930885 2.988093 2.690270 2.269038 2.176622 1.992044 2.839430 2.481896 #> [17] 2.356826 3.877115 3.174702 2.896931 3.000743 3.091225 3.182071 3.212816 #> [25] 3.352916 3.015952 2.837139 2.535185 2.595908 2.691103 2.738468 2.799467"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Mean — cmean","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Mean — cmean","text":"","code":"cmean(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Mean — cmean","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Mean — cmean","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Mean — cmean","text":"function return cumulative mean vector. uses dplyr::cummean() basis function.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Mean — cmean","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Mean — cmean","text":"","code":"x <- mtcars$mpg cmean(x) #> [1] 21.00000 21.00000 21.60000 21.55000 20.98000 20.50000 19.61429 20.21250 #> [9] 20.50000 20.37000 20.13636 19.82500 19.63077 19.31429 18.72000 18.20000 #> [17] 17.99412 18.79444 19.40526 20.13000 20.19524 19.98182 19.77391 19.50417 #> [25] 19.49200 19.79231 20.02222 20.39286 20.23448 20.21667 20.04839 20.09062"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Median — cmedian","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Median — cmedian","text":"","code":"cmedian(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Median — cmedian","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Median — cmedian","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Median — cmedian","text":"function return cumulative median vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Median — cmedian","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cmedian.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Median — cmedian","text":"","code":"x <- mtcars$mpg cmedian(x) #> [1] 21.00 21.00 21.00 21.20 21.00 21.00 21.00 21.00 21.00 21.00 21.00 20.10 #> [13] 19.20 18.95 18.70 18.40 18.10 18.40 18.70 18.95 19.20 18.95 18.70 18.40 #> [25] 18.70 18.95 19.20 19.20 19.20 19.20 19.20 19.20"},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — color_blind","title":"Provide Colorblind Compliant Colors — color_blind","text":"8 Hex RGB color definitions suitable charts colorblind people.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/color_blind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — color_blind","text":"","code":"color_blind()"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert Data to Time Series Format — convert_to_ts","title":"Convert Data to Time Series Format — convert_to_ts","text":"function converts data data frame tibble time series format. designed work data generated tidy_ distribution functions. function can return time series data, pivot long format, .","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"convert_to_ts(.data, .return_ts = TRUE, .pivot_longer = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert Data to Time Series Format — convert_to_ts","text":".data data frame tibble converted time series format. .return_ts logical value indicating whether return time series data. Default TRUE. .pivot_longer logical value indicating whether pivot data long format. Default FALSE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert Data to Time Series Format — convert_to_ts","text":"function returns processed data based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, returns data long format. options set FALSE, returns data tibble.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Convert Data to Time Series Format — convert_to_ts","text":"function takes data frame tibble input processes based specified options. performs following actions: Checks input data frame tibble; otherwise, raises error. Checks data comes tidy_ distribution function; otherwise, raises error. Converts data time series format, grouping \"sim_number\" transforming \"y\" column time series. Returns result based chosen options: ret_ts set TRUE, returns time series data. pivot_longer set TRUE, pivots data long format. options set FALSE, returns data tibble.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Convert Data to Time Series Format — convert_to_ts","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/convert_to_ts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert Data to Time Series Format — convert_to_ts","text":"","code":"# Example 1: Convert data to time series format without returning time series data x <- tidy_normal() result <- convert_to_ts(x, FALSE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 1.99 #> 2 0.416 #> 3 -0.362 #> 4 -0.282 #> 5 0.404 #> 6 -0.694 # Example 2: Convert data to time series format and pivot it into long format x <- tidy_normal() result <- convert_to_ts(x, FALSE, TRUE) head(result) #> # A tibble: 6 × 1 #> y #> #> 1 -0.912 #> 2 -0.732 #> 3 -0.582 #> 4 0.204 #> 5 -0.661 #> 6 -2.18 # Example 3: Convert data to time series format and return the time series data x <- tidy_normal() result <- convert_to_ts(x) head(result) #> y #> [1,] -0.1348973 #> [2,] 0.6769697 #> [3,] -0.5048327 #> [4,] -0.8381438 #> [5,] -2.9578102 #> [6,] 1.1051425"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Standard Deviation — csd","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Standard Deviation — csd","text":"","code":"csd(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Standard Deviation — csd","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Standard Deviation — csd","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Standard Deviation — csd","text":"function return cumulative standard deviation vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Standard Deviation — csd","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/csd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Standard Deviation — csd","text":"","code":"x <- mtcars$mpg csd(x) #> [1] NaN 0.0000000 1.0392305 0.8544004 1.4737707 1.7663522 2.8445436 #> [8] 3.1302385 3.0524580 2.9070986 2.8647069 2.9366416 2.8975233 3.0252418 #> [15] 3.7142967 4.1476098 4.1046423 5.2332053 5.7405452 6.4594362 6.3029736 #> [22] 6.2319940 6.1698105 6.1772007 6.0474457 6.1199296 6.1188444 6.3166405 #> [29] 6.2611772 6.1530527 6.1217574 6.0269481"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Skewness — cskewness","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Skewness — cskewness","text":"","code":"cskewness(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Skewness — cskewness","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Skewness — cskewness","text":"numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Skewness — cskewness","text":"function return cumulative skewness vector.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Skewness — cskewness","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cskewness.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Skewness — cskewness","text":"","code":"x <- mtcars$mpg cskewness(x) #> [1] NaN NaN 0.707106781 0.997869718 -0.502052297 #> [6] -0.258803244 -0.867969171 -0.628239920 -0.808101715 -0.695348960 #> [11] -0.469220594 -0.256323338 -0.091505282 0.002188142 -0.519593266 #> [16] -0.512660692 -0.379598706 0.614549281 0.581410573 0.649357202 #> [21] 0.631855977 0.706212631 0.775750182 0.821447605 0.844413861 #> [26] 0.716010069 0.614326432 0.525141032 0.582528820 0.601075783 #> [31] 0.652552397 0.640439864"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":null,"dir":"Reference","previous_headings":"","what":"Cumulative Variance — cvar","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Cumulative Variance — cvar","text":"","code":"cvar(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Cumulative Variance — cvar","text":".x numeric vector","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Cumulative Variance — cvar","text":"numeric vector. Note: first entry always NaN.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Cumulative Variance — cvar","text":"function return cumulative variance vector. exp(cummean(log(.x)))","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Cumulative Variance — cvar","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/cvar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Cumulative Variance — cvar","text":"","code":"x <- mtcars$mpg cvar(x) #> [1] NaN 0.000000 1.080000 0.730000 2.172000 3.120000 8.091429 #> [8] 9.798393 9.317500 8.451222 8.206545 8.623864 8.395641 9.152088 #> [15] 13.796000 17.202667 16.848088 27.386438 32.953860 41.724316 39.727476 #> [22] 38.837749 38.066561 38.157808 36.571600 37.453538 37.440256 39.899947 #> [29] 39.202340 37.860057 37.475914 36.324103"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Get distribution name title case tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"dist_type_extractor(.x)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":".x attribute list passed tidy_ distribution function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"character string","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"extract distribution type tidy_ distribution function output using attributes object. must pass attribute directly function. meant really used internally. passing using manually $tibble_type attribute.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"Steven P. Sanderson II,","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/dist_type_extractor.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extract Distribution Type from Tidy Distribution Object — dist_type_extractor","text":"","code":"tn <- tidy_normal() atb <- attributes(tn) dist_type_extractor(atb$tibble_type) #> [1] \"Gaussian\""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function perform quantile normalization two distributions equal length. Quantile normalization technique used make distribution values across different samples similar. ensures distributions values sample quantiles. function takes numeric matrix input returns quantile-normalized matrix.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"quantile_normalize(.data, .return_tibble = FALSE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":".data numeric matrix column represents sample. .return_tibble logical value determines output tibble. Default 'FALSE'.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"list object following: numeric matrix quantile normalized. row means quantile normalized matrix. sorted data ranked indices","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"function performs quantile normalization numeric matrix following steps: Sort column input matrix. Calculate mean row across sorted columns. Replace column's sorted values row means. Unsort columns original order.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/quantile_normalize.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Perform quantile normalization on a numeric matrix/data.frame — quantile_normalize","text":"","code":"# Create a sample numeric matrix data <- matrix(rnorm(20), ncol = 4) # Perform quantile normalization normalized_data <- quantile_normalize(data) #> Warning: There are duplicated ranks the input data. normalized_data #> $normalized_data #> [,1] [,2] [,3] [,4] #> [1,] -0.3544741 -1.1887651 0.1402623 0.1402623 #> [2,] -1.1887651 0.1402623 -0.3544741 -0.3544741 #> [3,] 0.1402623 -0.3544741 0.6082141 -1.1887651 #> [4,] 1.5541985 1.5541985 -1.1887651 0.6082141 #> [5,] 0.6082141 0.6082141 1.5541985 1.5541985 #> #> $row_means #> [1] -1.1887651 -0.3544741 0.1402623 0.6082141 1.5541985 #> #> $duplicated_ranks #> [,1] [,2] [,3] [,4] #> [1,] 5 2 1 2 #> [2,] 4 1 5 4 #> [3,] 2 3 3 1 #> [4,] 3 4 4 5 #> #> $duplicated_rank_row_indices #> [1] 1 3 4 5 #> #> $duplicated_rank_data #> [,1] [,2] [,3] [,4] #> [1,] -0.006202427 -0.1106733 -1.2344467 0.8044256 #> [2,] 2.531894845 0.1679075 0.7490085 -0.7630899 #> [3,] 0.212224663 0.6147875 1.2798579 -0.0333282 #> [4,] -2.150115206 -0.1142912 0.4928258 1.7902539 #> as.data.frame(normalized_data$normalized_data) |> sapply(function(x) quantile(x, probs = seq(0, 1, 1 / 4))) #> V1 V2 V3 V4 #> 0% -1.1887651 -1.1887651 -1.1887651 -1.1887651 #> 25% -0.3544741 -0.3544741 -0.3544741 -0.3544741 #> 50% 0.1402623 0.1402623 0.1402623 0.1402623 #> 75% 0.6082141 0.6082141 0.6082141 0.6082141 #> 100% 1.5541985 1.5541985 1.5541985 1.5541985 quantile_normalize( data.frame(rnorm(30), rnorm(30)), .return_tibble = TRUE) #> Warning: There are duplicated ranks the input data. #> $normalized_data #> # A tibble: 30 × 2 #> rnorm.30. rnorm.30..1 #> #> 1 -0.341 1.51 #> 2 -0.744 0.983 #> 3 0.109 0.645 #> 4 0.346 -0.150 #> 5 1.26 -0.316 #> 6 -0.551 -0.874 #> 7 0.346 -1.60 #> 8 0.719 -0.0315 #> 9 -1.81 -0.670 #> 10 -1.37 -0.403 #> # ℹ 20 more rows #> #> $row_means #> # A tibble: 30 × 1 #> value #> #> 1 -1.81 #> 2 -1.60 #> 3 -1.37 #> 4 -1.18 #> 5 -1.01 #> 6 -0.874 #> 7 -0.744 #> 8 -0.670 #> 9 -0.551 #> 10 -0.403 #> # ℹ 20 more rows #> #> $duplicated_ranks #> # A tibble: 2 × 1 #> value #> #> 1 8 #> 2 8 #> #> $duplicated_rank_row_indices #> # A tibble: 1 × 1 #> row_index #> #> 1 23 #> #> $duplicated_rank_data #> # A tibble: 2 × 1 #> value #> #> 1 0.727 #> 2 -0.566 #>"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"","code":"td_scale_color_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_color_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_color_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":null,"dir":"Reference","previous_headings":"","what":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"Provide Colorblind Compliant Colors","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"","code":"td_scale_fill_colorblind(..., theme = \"td\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/td_scale_fill_colorblind.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Provide Colorblind Compliant Colors — td_scale_fill_colorblind","text":"... Data passed function theme defaults td allowed value","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidyeval.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy eval helpers — tidyeval","title":"Tidy eval helpers — tidyeval","text":"page lists tidy eval tools reexported package rlang. learn using tidy eval scripts packages high level, see dplyr programming vignette ggplot2 packages vignette. Metaprogramming section Advanced R may also useful deeper dive. tidy eval operators {{, !!, !!! syntactic constructs specially interpreted tidy eval functions. mostly need {{, !! !!! advanced operators use simple cases. curly-curly operator {{ allows tunnel data-variables passed function arguments inside tidy eval functions. {{ designed individual arguments. pass multiple arguments contained dots, use ... normal way. enquo() enquos() delay execution one several function arguments. former returns single expression, latter returns list expressions. defused, expressions longer evaluate . must injected back evaluation context !! (single expression) !!! (list expressions). simple case, code equivalent usage {{ ... . Defusing enquo() enquos() needed complex cases, instance need inspect modify expressions way. .data pronoun object represents current slice data. variable name string, use .data pronoun subset variable [[. Another tidy eval operator :=. makes possible use glue curly-curly syntax LHS =. technical reasons, R language support complex expressions left =, use := workaround. Many tidy eval functions like dplyr::mutate() dplyr::summarise() give automatic name unnamed inputs. need create sort automatic names , use as_label(). instance, glue-tunnelling syntax can reproduced manually : Expressions defused enquo() (tunnelled {{) need simple column names, can arbitrarily complex. as_label() handles cases gracefully. code assumes simple column name, use as_name() instead. safer throws error input name expected.","code":"my_function <- function(data, var, ...) { data %>% group_by(...) %>% summarise(mean = mean({{ var }})) } my_function <- function(data, var, ...) { # Defuse var <- enquo(var) dots <- enquos(...) # Inject data %>% group_by(!!!dots) %>% summarise(mean = mean(!!var)) } my_var <- \"disp\" mtcars %>% summarise(mean = mean(.data[[my_var]])) my_function <- function(data, var, suffix = \"foo\") { # Use `{{` to tunnel function arguments and the usual glue # operator `{` to interpolate plain strings. data %>% summarise(\"{{ var }}_mean_{suffix}\" := mean({{ var }})) } my_function <- function(data, var, suffix = \"foo\") { var <- enquo(var) prefix <- as_label(var) data %>% summarise(\"{prefix}_mean_{suffix}\" := mean(!!var)) }"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":null,"dir":"Reference","previous_headings":"","what":"Automatic Plot of Density Data — tidy_autoplot","title":"Automatic Plot of Density Data — tidy_autoplot","text":"auto plotting function take tidy_ distribution function arguments, one plot type, quoted string one following: density quantile probablity qq mcmc number simulations exceeds 9 legend print. plot subtitle put together attributes table passed function.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_autoplot( .data, .plot_type = \"density\", .line_size = 0.5, .geom_point = FALSE, .point_size = 1, .geom_rug = FALSE, .geom_smooth = FALSE, .geom_jitter = FALSE, .interactive = FALSE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Automatic Plot of Density Data — tidy_autoplot","text":".data data passed tidy_distribution function like tidy_normal() .plot_type quoted string like 'density' .line_size size param ggplot .geom_point Boolean value TREU/FALSE, FALSE default. TRUE return plot ggplot2::ggeom_point() .point_size point size param ggplot .geom_rug Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_rug() .geom_smooth Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_smooth() aes parameter group set FALSE. ensures single smoothing band returned SE also set FALSE. Color set 'black' linetype 'dashed'. .geom_jitter Boolean value TRUE/FALSE, FALSE default. TRUE return use ggplot2::geom_jitter() .interactive Boolean value TRUE/FALSE, FALSE default. TRUE return interactive plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Automatic Plot of Density Data — tidy_autoplot","text":"ggplot plotly plot.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Automatic Plot of Density Data — tidy_autoplot","text":"function spit one following plots: density quantile probability qq mcmc","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Automatic Plot of Density Data — tidy_autoplot","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_autoplot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Automatic Plot of Density Data — tidy_autoplot","text":"","code":"tidy_normal(.num_sims = 5) |> tidy_autoplot() tidy_normal(.num_sims = 20) |> tidy_autoplot(.plot_type = \"qq\")"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function generate n random points Bernoulli distribution user provided, .prob, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli(.n = 50, .prob = 0.1, .num_sims = 1, .return_tibble = TRUE)"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":".n number randomly generated points want. .prob probability success/failure. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"function uses rbinom(), underlying p, d, q functions. Bernoulli distribution special case Binomial distribution size = 1 hence binom functions used set size = 1.","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_bernoulli.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Bernoulli Distribution Tibble — tidy_bernoulli","text":"","code":"tidy_bernoulli() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #> #> 1 1 1 0 -0.405 0.0292 0.9 0 #> 2 1 2 0 -0.368 0.0637 0.9 0 #> 3 1 3 0 -0.331 0.129 0.9 0 #> 4 1 4 1 -0.294 0.243 1 1 #> 5 1 5 0 -0.258 0.424 0.9 0 #> 6 1 6 0 -0.221 0.688 0.9 0 #> 7 1 7 0 -0.184 1.03 0.9 0 #> 8 1 8 1 -0.147 1.44 1 1 #> 9 1 9 0 -0.110 1.87 0.9 0 #> 10 1 10 0 -0.0727 2.25 0.9 0 #> # ℹ 40 more rows"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":null,"dir":"Reference","previous_headings":"","what":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function generate n random points beta distribution user provided, .shape1, .shape2, .ncp non-centrality parameter, number random simulations produced. function returns tibble simulation number column x column corresponds n randomly generated points, d_, p_ q_ data points well. data returned un-grouped. columns output : sim_number current simulation number. x current value n current simulation. y randomly generated data point. dx x value stats::density() function. dy y value stats::density() function. p values resulting p_ function distribution family. q values resulting q_ function distribution family.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta( .n = 50, .shape1 = 1, .shape2 = 1, .ncp = 0, .num_sims = 1, .return_tibble = TRUE )"},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":".n number randomly generated points want. .shape1 non-negative parameter Beta distribution. .shape2 non-negative parameter Beta distribution. .ncp non-centrality parameter Beta distribution. .num_sims number randomly generated simulations want. .return_tibble logical value indicating whether return result tibble. Default TRUE.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"tibble randomly generated data.","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"function uses underlying stats::rbeta(), underlying p, d, q functions. information please see stats::rbeta()","code":""},{"path":[]},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"Steven P. Sanderson II, MPH","code":""},{"path":"https://www.spsanderson.com/TidyDensity/reference/tidy_beta.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Tidy Randomly Generated Beta Distribution Tibble — tidy_beta","text":"","code":"tidy_beta() #> # A tibble: 50 × 7 #> sim_number x y dx dy p q #>