capped_fibonacci_seq {Trading} | R Documentation |
Fibonacci sequence up to a specified maximum number
Description
Generates the Fibonacci sequence up to a specified maximum number
Usage
capped_fibonacci_seq(max_number)
Arguments
max_number |
The maximum number up to which the sequence should be generated |
Value
A vector containing the Fibonacci sequence
Author(s)
Tasos Grivas <tasos@openriskcalculator.com>
References
https://en.wikipedia.org/wiki/Fibonacci_number
Examples
fibonacci_seq = capped_fibonacci_seq(max_number = 6000)
[Package Trading version 3.0 Index]