wodds: Calculate whisker odds

View source: R/wodds.R

woddsR Documentation

Calculate whisker odds

Description

makes whisker odds

Usage

wodds(
  y,
  alpha = 0.05,
  include_tail_area = FALSE,
  include_outliers = FALSE,
  include_depth = FALSE
)

Arguments

y

A vector of values

alpha

the alpha level, such as 0.05 which is the compliment of the confidence interval, such as 0.95

include_tail_area

a binary. If true then include a column of tail area 2^(i)

include_outliers

a binary. If true include a column of outliers beyond the last wodd depth

include_depth

a binary. If true include a column indicating the depth of the letter value

Value

A dataframe of wodds

lower_value

lower value

wodd_name

Name of wodd

upper_value

upper value

Examples

set.seed(42)
wodds(rnorm(1e4, 0, 1))

alexhallam/wodds documentation built on June 2, 2022, 10:28 a.m.