powered by
Outputs the plant phyllotaxis formula or angle of divergence
Phyllotaxis(n, angle=FALSE) Fibonacci(x)
non-negative integer
if TRUE, output angle of divergence
Number or character vector of length one.
'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.
# NOT RUN { sapply(1:10, Fibonacci) sapply(1:10, Phyllotaxis) sapply(1:10, Phyllotaxis, angle=TRUE) # }
Run the code above in your browser using DataLab