bin_skewness: bin_skewness

Description Usage Arguments Value Examples

View source: R/functions.R

Description

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

Usage

1
bin_skewness(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, skewness of binomial distribution

Examples

1
2
3
4
5
#default
binskewness1 <- bin_skewness(10, 0.3)

#example2
binskweness2 <- bin_skewness(100, 0.2)

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