bin_kurtosis: bin_kurtosis

Description Usage Arguments Value Examples

View source: R/functions.R

Description

function which computes kurtosis of binomial distribution with given inputs trials and prob

Usage

1
bin_kurtosis(trials, prob)

Arguments

trials

a non-negative integer which provides the number of trials

prob

a number between 0 and 1 which gives the probablity of a success on an individual draw

Value

an object of numeric class, kurtosis of binomial distribution

Examples

1
2
3
4
5
#default
binkurtosis1 <- bin_kurtosis(10, 0.3)

#example2
binkurtosis2 <- bin_kurtosis(100, 0.2)

Thomas-Sperandeo/workout3 documentation built on May 5, 2019, 12:26 a.m.