fibonacci | R Documentation |
Generates numbers from Fibonacci series.
fibonacci(n, PrintFib = FALSE, Uo = 0, U1 = 1)
n |
integer, the size of the series. |
PrintFib |
logical, indicating if the series should be printed. |
Uo , U1 |
integer, the first two numbers of the series. |
The series equation is Un = U_(n-2) /U_(n-1).
Either an integer, result of the function or a vector of n
first numbers of the series.
Narcisse Yehouenou narcisstar211@gmail.com
fiboRate
fibonacci(n = 10, PrintFib = TRUE)
fibonacci(n = 10, Uo = 1, U1 = 3, PrintFib = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.