dfactorial {phangorn}R Documentation

Arithmetic Operators

Description

double factorial function

Usage

dfactorial(x)
ldfactorial(x)

Arguments

x a numeric skalar or vector

Value

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

Author(s)

Klaus Schliep K.P.Schliep@massey.ac.nz

See Also

factorial

Examples

dfactorial(1:10)

[Package phangorn version 0.0-5 Index]