Skip to contents

Returns distribution statistics in a tibble.

Usage

util_f_stats_tbl(.data)

Arguments

.data

The data being passed from a tidy_ distribution function.

Value

A tibble

Details

This function will take in a tibble and returns the statistics of the given type of tidy_ distribution. It is required that data be passed from a tidy_ distribution function.

Author

Steven P. Sanderson II, MPH

Examples

library(dplyr)

tidy_f() |>
  util_f_stats_tbl() |>
  glimpse()
#> Rows: 1
#> Columns: 17
#> $ tidy_function     <chr> "tidy_f"
#> $ function_call     <chr> "F Distribution c(1, 1, 0)"
#> $ distribution      <chr> "f"
#> $ distribution_type <chr> "continuous"
#> $ points            <dbl> 50
#> $ simulations       <dbl> 1
#> $ mean              <chr> "undefined"
#> $ median            <chr> "Not computed"
#> $ mode              <chr> "undefined"
#> $ std_dv            <chr> "undefined"
#> $ coeff_var         <chr> "undefined"
#> $ skewness          <chr> "undefined"
#> $ kurtosis          <chr> "Not computed"
#> $ computed_std_skew <dbl> 6.633205
#> $ computed_std_kurt <dbl> 45.89306
#> $ ci_lo             <dbl> 0.001643344
#> $ ci_hi             <dbl> 445.6116