📅  最后修改于: 2022-03-11 14:51:58.534000             🧑  作者: Mango
# Recursive function to find factorial
recursive.factorial <- function(x) {
if (x == 0) return (1)
else return (x * recursive.factorial(x-1))
}