Description Usage Arguments Value Author(s) Examples
This function generates a regular grid of quadrature points and associated environmental data at a nominated spatial resolution.
1 | sample.quad(env.grid, sp.scale, coord = c("X", "Y"), file = "Quad")
|
env.grid |
The geo-referenced matrix of environmental grids. It must have a vector of longitude and a vector of latitude. |
sp.scale |
The spatial resolution at which to sample quadrature points. |
coord |
A vector containing the names of the longitude and latitude coordinates. |
file |
An optional argument containing the prefix of the name of the saved file. The
default is |
The output is a matrix of quadrature points at the spatial resolution
supplied to sp.scale
. If a vector of resolutions is supplied, the output is a list of
file names containing the saved matrices of quadrature points stored as dat.quad
.
Ian W. Renner
1 2 | data(BlueMountains)
quad.1 = sample.quad(env.grid = BlueMountains$env, sp.scale = 1, file = "Quad")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.