dfactorial: Arithmetic Operators

ldfactorialR Documentation

Arithmetic Operators

Description

double factorial function

Usage

ldfactorial(x)

dfactorial(x)

Arguments

x

a numeric scalar or vector

Value

dfactorial(x) returns the double factorial, that is x\!\! = 1 * 3 * 5 * \ldots * x and ldfactorial(x) is the natural logarithm of it.

Author(s)

Klaus Schliep klaus.schliep@gmail.com

See Also

factorial, howmanytrees

Examples


dfactorial(1:10)


KlausVigo/phangorn documentation built on Nov. 20, 2024, 12:47 p.m.