fact: A function to calculate the factorial.

Description Usage Arguments Details Value Author(s) References Examples

Description

Calculates the factorial of a defined number.

Usage

1
fact(n)

Arguments

n

a numeric value for which the value of the factorial to be calculated.

Details

n should be an integer.

Value

Returns a numeric value.

Author(s)

Ozlem Ilk

References

Ilk, O. (2011). R Yazilimina Giris [Introduction to R Language]. ODTU Yayincilik [METU Press].

Examples

1
fact(4)

OOmisc documentation built on May 1, 2019, 10:17 p.m.

Related to fact in OOmisc...