R/hex_area.R

#' Get the area of a hexagon given its side length

hex_area <- function(side) {
  ((3 * sqrt(3)) / 2 * side)
}
rxlacroix/tilegram documentation built on June 20, 2019, 12:20 a.m.