Phyllotaxis {shipunov} | R Documentation |
Plant phyllotaxis
Description
Outputs the plant phyllotaxis formula or angle of divergence
Usage
Phyllotaxis(n, angle=FALSE)
Fibonacci(x)
Arguments
n |
non-negative integer |
angle |
if TRUE, output angle of divergence |
x |
non-negative integer |
Details
'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.
Value
Number or character vector of length one.
Author(s)
Alexey Shipunov
Examples
sapply(1:10, Fibonacci)
sapply(1:10, Phyllotaxis)
sapply(1:10, Phyllotaxis, angle=TRUE)
[Package shipunov version 1.17.1 Index]