gmGeostats (version 0.10-6)

as.gmSpatialModel: Recast spatial object to gmSpatialModel format

Description

Recast a spatial data object model to format gmSpatialModel

Usage

as.gmSpatialModel(object, ...)

# S3 method for default as.gmSpatialModel(object, ...)

# S3 method for gstat as.gmSpatialModel(object, V = NULL, ...)

Arguments

object

object to recast

...

extra parameters for generic functionality

V

optional, if the original data in the sptail object was compositional, which logcontrasts were used to express it? Thsi can be either one string of "alr", "ilr" or "clr", or else a (Dx(D-1))-element matrix of logcontrasts to pass from compositions to logratios

Value

The same spatial object re-structured as a "gmSpatialModel", see '>gmSpatialModel

Methods (by class)

  • default: Recast spatial object to gmSpatialModel format

  • gstat: Recast spatial object to gmSpatialModel format

See Also

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