area_hex | R Documentation |
from https://stackoverflow.com/a/59022366
area_hex(R = waiver(), r = waiver())
R |
The longer, or maximal, radius of a hexagon, from center to vertex Also the length of one of the sides. |
r |
The apothem, or shorter radius of a hexagon, from center to side |
A numeric vector of areas, in the same units as r
and/or R
## Not run: r <- 1.74 / 2 area_hex(r = r) R <- 2 / 2 area_hex(R = R) area_hex(R = R, r = r) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.