View source: R/tbl-hai-get-dist-data.R
hai_get_dist_data_tbl | R Documentation |
This function will return a tibble that can either be nested/unnested,
and grouped or ungrouped. The .data
argument must be the output of the
hai_distribution_comparison_tbl()
function.
hai_get_dist_data_tbl(.data, .unnest = TRUE, .group_data = FALSE)
.data |
The data from the |
.unnest |
Should the resulting tibble be unnested, a boolean value TRUE/FALSE. The default is TRUE |
.group_data |
Shold the resulting tibble be grouped, a boolean value TRUE/FALSE. The default is FALSE |
This function expects to take the output of the hai_distribution_comparison_tbl()
function. It returns a tibble of the distribution and the randomly generated
data produced from the associated stats r function like rnorm
A tibble.
Steven P. Sanderson II, MPH
Other Distribution Functions:
hai_distribution_comparison_tbl()
,
hai_get_density_data_tbl()
library(dplyr)
df <- hai_scale_zero_one_vec(.x = mtcars$mpg) %>%
hai_distribution_comparison_tbl()
hai_get_dist_data_tbl(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.