Statistics functions for elm
Calculate the mean of a list of Int
Alias for avg
Alias for avgInt
Get the median of a sorted list of Float
If the length of the list is even, the retun value is the average of the two
values at the middle of the list.
Returns Nothing if the list is empty
Get the median of a sorted list of Int
If the length of the list is even, the retun value is the average of the two
values at the middle of the list.
Returns Nothing if the list is empty
Get the element at a position in percent from a list
If the percentage doesn't exactly match an element the value is interpolated from the two closest elements
Get the element at a position in percent from a list
If the percentage doesn't exactly match an element the value is interpolated from the two closest elements
Alias for List.minimum
Alias for List.maximum
Get minimum and maximum from list
Returns Nothing if list is empty
Get a Dict containing the numbers from the list as keys
and the number of occurrences for each number as value
Get the standard deviation of a population of Float
Get the standard deviation of a population of Int
Alias for max, to make piped usage more intuitive
number |> atLeast 5Alias for max, to make piped usage more intuitive
number |> atMost 5
Calculate the mean of a list of Float