create_map: Create map composed of hex tiles

Description Usage Arguments

View source: R/main.R

Description

Given an PlasmoMAPI project with sampling coordinates already loaded, create a hex grid around these points.

Usage

1
create_map(proj, hex_width = NULL, border_coords = NULL)

Arguments

proj

object of class pm_project.

hex_width

width of hexagons.

border_coords

dataframe giving coordinates (long, lat) of a polygon within which the map is defined. If null then this is generated automatically from the convex hull of the sampling locations.


mrc-ide/PlasmoMAPI documentation built on Oct. 1, 2020, 9:41 a.m.