Creates S4 object class UncertainPoints

Share:

Description

Builds an uncertainty model over the input data based on the spatially correlated errors. Input data must be type of S4 class Points. Output object is type of S4 class UncertainPoints.

Usage

1
2
uncertaintyError(input, T = NULL, grid = FALSE, distances = NULL,
  dim = NULL, data = NULL, given = NULL)

Arguments

input

Input data. S4 class of Points

T

optional vector of time coordinates, T must always be an equidistant vector. Instead of T=seq(from=From, by=By, len=Len) one may also write T=c(From, By, Len).

grid

Logical; RandomFields can find itself the correct value in nearly all cases, so that usually grid need not be given.

distances

Another alternative to pass the (relative) coordinates.

dim

Only used if distances are given.

data

For conditional simulation and random imputing only. If data is missing, unconditional simulation is performed.

given

Optional, matrix or list. If given matrix then the coordinates can be given separately, namely by given where, in each row, a single location is given.

Details

For the calculations of spatially correlated errors was used package RandomFields.

Value

Returns an object of class UncertainPoints.

See Also

Points-class, UncertainPoints-class, RFsimulate, uncertaintyInterpolation2-package