powered by
Outputs the plant phyllotaxis formula or angle of divergence
Phyllotaxis(n, angle=FALSE) Fibonacci(x)
Number or character vector of length one.
non-negative integer
if TRUE, output angle of divergence
Alexey Shipunov
'Fibonacci(x)' calculates the n's Fibonacci's number, it is the rare case that is not exercise but really used for work.
'Phyllotaxis(n)' uses 'Fibonacci(x)' to output the phyllotaxis formula (see examples) or (if 'angle=TRUE') the angle of divergence.
sapply(1:10, Fibonacci) sapply(1:10, Phyllotaxis) sapply(1:10, Phyllotaxis, angle=TRUE)
Run the code above in your browser using DataLab