Skip to contents

Unit-Lindley RNG function

Usage

runit_lindley(n, mu)

Arguments

n

number of observations

mu

Mean, mu e (0, 1)

Value

n samples drawn from the Unit Lindley distribution

Examples

hist(runit_lindley(100, 0.5))