fiboRate {dendrometry}R Documentation

Fibonacci series ratio

Description

Computes rates from Fibonacci series.

Usage

fiboRate(n, PrintSer = FALSE, Uo = 0, U1 = 1)

Arguments

n

integer, the size of the series.

PrintSer

logical, indicating if the series should be printed.

Uo, U1

integer, the first number of the series.

Details

The series equation is Un = U_(n-2) /U_(n-1). The function returns golden number when Uo = 0, and U1 = 1. Larger n is, more precise the number (result) is.

Value

Either a numeric, result of the rate of nth and (n-1)th numbers in Fibonacci series or all (n-1)th those rates.

Author(s)

Narcisse Yehouenou narcisstar211@gmail.com

See Also

fibonacci

Examples

##Golden number (Le Nombre d'Or)
fiboRate(n = 18, PrintSer = FALSE, Uo = 0, U1 = 1)
##(1+sqrt(5))/2
fiboRate(n = 10, PrintSer = TRUE, Uo = 0, U1 = 1)

[Package dendrometry version 0.0.2 Index]