golden_ratio | R Documentation |
Returns the golden ratio (1.618034...). Useful to easily obtain golden
proportions, for instance for a horizontal figure, if you want its height to
be 8, you can set its width to be golden_ratio(8)
.
golden_ratio(x = 1)
x |
A number to be multiplied by the golden ratio. The default ( |
golden_ratio()
golden_ratio(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.