Learn R Programming

zipfextR (version 1.0.2)

zipfpolylogMean: Expected value of the ZipfPolylog distribution.

Description

Computes the expected value of the ZipfPolylog distribution for given values of parameters \(\alpha\) and \(\beta\).

Usage

zipfpolylogMean(alpha, beta, tolerance = 10^(-4))

Arguments

alpha

Value of the \(\alpha\) parameter (\(\alpha > 2\)).

beta

Value of the \(\beta\) parameter (\(\beta \in (-\infty, +\infty)\)).

tolerance

Tolerance used in the calculations (default = \(10^{-4}\)).

Value

A positive real value corresponding to the mean value of the ZipfPolylog distribution.

Examples

Run this code
# NOT RUN {
zipfpolylogMean(0.5, 0.8)
zipfpolylogMean(2.5, 0.8, 10^(-3))
# }

Run the code above in your browser using DataLab