R: Class 'RFsp'

RFsp-class {RandomFields} | R Documentation

## Class `RFsp`

### Description

`"RFsp"` is a virtual class which contains the four classes `RFspatialGridDataFrame` (data on a full grid and space-time-dimension > 2), `RFspatialPointsDataFrame` (data not on a grid and space-time-dimension > 2), `RFgridDataFrame` (data on a full grid and space-time-dimension = 1), `RFpointsDataFrame` (data not on a grid spaced and space-time-dimension = 1)

The first two class subclasses are summarized in `"RFspatialDataFrame"` whilst the latter two are summarized in `"RFdataFrame"`.

### Objects from the Class

are never to be generated; only derived classes can be meaningful

### Methods

summary

  `signature(obj = "RFsp")`: returns a summary of the object; uses or imitates summary method of class `Spatial` from the sp-package

dimensions

  `signature(obj = "RFsp")`: retrieves the number of spatial or spatio-temporal dimensions spanned

isGridded

  `signature(obj = "RFsp")`: logical, tells whether the data is on a regular spatial grid

RFspDataFrame2dataArray

  `signature(obj = "RFsp")`: transforms `RFsp` objects to array

RFspDataFrame2conventional

  `signature(obj = "RFsp")`: transforms `RFsp` objects to a list with additional information

[

  `signature(obj = "RFsp")`: selects columns of the `data`-slot, while all other slots are kept unmodified

[<-

  `signature(obj = "RFsp")`: replaces columns of the `data`-slot, while all other slots are kept unmodified

variance

  `signature(object = "RFsp")`: returns the kriging variance if available

### Warning

this class is not useful in itself, but the above mentioned classes in this package derive from it

### Author(s)

Alexander Malinowski Alexander.Malinowski@web.de, Martin Schlather schlather@math.uni-mannheim.de http://ms.math.uni-mannheim.de/de/publications/software

### See Also

`RFspatialGridDataFrame`, `RFspatialPointsDataFrame`, `RFgridDataFrame`, `RFpointsDataFrame`, `sp2RF`

### Examples

    RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
    ##                   RFoptions(seed=NA) to make them all random again
    ## to do

[Package RandomFields version 3.1.50 Index]