make_sugarbag_df: Create a dataframe of hexagon locations for use in...

View source: R/geom_sugarbag.R

make_sugarbag_dfR Documentation

Create a dataframe of hexagon locations for use in geom_sugarbag(). This function is an opinionated wrapper around various other functions in the sugarbag package.

Description

Create a dataframe of hexagon locations for use in geom_sugarbag(). This function is an opinionated wrapper around various other functions in the sugarbag package.

Usage

make_sugarbag_df(shp, hex_size = 0.2, hex_width = 90)

Arguments

shp

A shapefile of class "sf"

hex_size

Default 0.2. See ?allocate

hex_width

Default 90. See ?allocate (argument width)


srkobakian/sugarbag documentation built on July 28, 2023, 9:23 a.m.