Description Usage Arguments Details Value Author(s) References Examples

Calculates the factorial of a defined number.

1 | ```
fact(n)
``` |

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

n should be an integer.

Returns a numeric value.

Ozlem Ilk

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

1 | ```
fact(4)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.