fibonacci | R Documentation |
It retrieves a vector containing the first N numbers specified in 'length' parameter of the Fibonacci series.
fibonacci(length, remove_first = FALSE)
length |
data frame |
remove_first |
removes the first value of the series, because first 2 elements are the same (number=1). False by default. |
vector
# Get the first 4 elements of Fibonacci series
fibonacci(4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.