dfactorial: Double factorial

Description Usage Arguments

View source: R/combinatorics.R

Description

This function returns the double factorial n!! of a natural number n. It is defined as n!! = n*(n-2)*(n-4)*...*1 if n is odd and n!! = n*(n-2)*(n-4)*...*2 if n is even.

Usage

1

Arguments

n

a non negative, natural number


CharlotteJana/momcalc documentation built on Oct. 17, 2019, 7:21 a.m.