loc_grid: Generate a location grid

View source: R/inla_spde.R

loc_gridR Documentation

Generate a location grid

Description

Generate the coordinates of a regular grid on a [0, 100]×[0, 100] domain with steps in both direction of step.

Usage

loc_grid(step = 1)

Arguments

step

Distance between subsequent locations; defaults to 1

Value

A two-column matrix with of locations in two dimensions, each step apart.

Author(s)

John Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.