grid: Grid data

Description Usage Arguments Value Author(s)

Description

Grid data by kriging and mask using the convex hull of the data

Usage

1
2
grid(data, Var = "Yield.tha", xy = c("Longitude", "Latitude"), r = NULL,
  size = 1e-04, nsamp = 5000, maxdist = NULL, plot = 0)

Arguments

data

Data frame containing spatial points.

Var

Name of data column to grid.

xy

Vector of names of data columns containing x and y information.

r

Optional raster defining extnent and size of grid to be created.

size

Size of grid (if r is not provided).

nsamp

Number of data samples used to fit the semivariogram.

plot

Set >0 to plot the fitted semivariogram.

filename

Name of input file.

Value

Returns a raster.

Author(s)

Fiona Evans


fionahevans/agric documentation built on May 30, 2019, 12:46 p.m.