sample.discrete: Generate a sample from a discrete distribution

Description Usage Arguments

Description

sample.discrete generates a sample of size n given its density function df

Usage

1

Arguments

df

The density function - It is assumed that the support is a subset of the natural numbers

n

The desired sample size


MHTcop documentation built on May 2, 2019, 7:59 a.m.