Learn R Programming

distr6 (version 1.5.2)

pgf: Probability Generating Function

Description

Probability generating function of a distribution

Usage

pgf(object, z, ...)

Arguments

object

Distribution.

z

integer to evaluate characteristic function at.

...

Passed to $genExp.

Value

Probability generating function evaluated at z as a numeric if distribution is discrete, otherwise NaN.