Learn R Programming

SplitR (version 0.4)

create_grid: Create a grid of sites

Description

Flexibly create a grid of sites for ensemble trajectory model runs.

Usage

create_grid(lat = 49.263, lon = -123.25, grid_ref = "center",
  range = c(5, 5), division = c(0.5, 0.5), dist_units = "degrees")

Arguments

lat

a latitude value in decimal degrees for the point of reference on the grid.

lon

a longitude value in decimal degrees for the point of reference on the grid.

grid_ref

the grid reference point. The default value is center.

range

the latitude and longitude range about the grid_ref.

division

the division distances across the latitude and longitude ranges.

dist_units

the distance units used with values supplied to range and division. The default is degrees.