gmGeostats (version 0.10-6)

make.gmCompositionalMPSSpatialModel: Construct a Multi-Point gmSpatialModel for regionalized compositions

Description

Construct a regionalized compositional data container to be used for multipoint geostatistics.

Usage

make.gmCompositionalMPSSpatialModel(
  data,
  coords = attr(data, "coords"),
  V = "ilr",
  prefix = NULL,
  model = NULL
)

Arguments

data

either a compositions::acomp() compositional data set, or else a sp::SpatialPointsDataFrame() containing it

coords

the coordinates of the sampling locations, if no SpatialPointsDataFrame was provided

V

optionally, a matrix of logcontrasts, or else one of the following strings: "alr", "ilr" or "clr"; to produce a plot of the empirical variogram in the corresponding representation; default to variation-variograms

prefix

the desired prefix name for the logratio variables, if this is wished to be forced; otherwise derived from V

model

a training image, of any appropriate class (typically a sp::SpatialGridDataFrame() or sp::SpatialPixelsDataFrame())

Value

A "gmSpatialModel" object with all information provided appropriately structured. See '>gmSpatialModel.

See Also

DirectSamplingParameters() for specifying a direct simulation method parameters, predict.gmSpatialModel() for running the simulation

Other gmSpatialModel: as.gmSpatialModel(), gmSpatialModel-class, make.gmCompositionalGaussianSpatialModel(), make.gmMultivariateGaussianSpatialModel(), predict.gmSpatialModel()