random_number_prob_distbn: Function to return random number given a distribution and...

Description Usage Arguments Value Examples

View source: R/additional_help_functions.R

Description

Function to return random number given a distribution and parameters

Usage

1
random_number_prob_distbn(prob_distbn, param = NULL)

Arguments

prob_distbn

a probabiltiy distribution and vector of parameters

param

param values to define the probability distribution

Value

random number according to the specified distribution

Examples

1
random_number_prob_distbn("beta",c(0.6,0.2))

sheejamk/MarkovModel documentation built on Jan. 23, 2020, 2:44 a.m.