Generate Fibonacci sequence

fibonacci(from, to)

Arguments

from, to

Approximate start and end values of the sequence

Value

Returns a Fibonacci sequence as a vector.

Examples


fibonacci(2, 200)
#>  [1]   2   3   5   8  13  21  34  55  89 144