naive_fibonacci: A function to compute the nth Fibonacci number

Description Usage Arguments

Description

Computes the nth Fibonacci recursively. This becomes computationally intensive for larger values of n.

Usage

1
naive_fibonacci(n, accumulate = FALSE)

Arguments

n

An integer representing the desired element of the series to return.


ZulioAhuramazda/superfun documentation built on May 5, 2019, 1:33 a.m.