Skip to contents

Returns distribution statistics in a tibble.

Usage

util_weibull_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_weibull() |>
  util_weibull_stats_tbl() |>
  glimpse()
#> Rows: 1
#> Columns: 16
#> $ tidy_function     <chr> "tidy_weibull"
#> $ function_call     <chr> "Weibull c(1, 1)"
#> $ distribution      <chr> "Weibull"
#> $ distribution_type <chr> "continuous"
#> $ points            <dbl> 50
#> $ simulations       <dbl> 1
#> $ mean              <dbl> 1.054851
#> $ median            <dbl> 0.7263866
#> $ mode              <dbl> 0
#> $ range             <chr> "0 to Inf"
#> $ std_dv            <dbl> 1.015938
#> $ coeff_var         <dbl> 1.032131
#> $ computed_std_skew <dbl> 1.857905
#> $ computed_std_kurt <dbl> 6.190366
#> $ ci_lo             <dbl> 0.01805123
#> $ ci_hi             <dbl> 4.377121