Coercion to class 'RFsp' objects
Generate an object of class RFsp
from conventional objects.
conventional2RFspDataFrame(data, coords=NULL, gridTopology=NULL, n=1, vdim=1, T=NULL, vdim_close_together)
data |
array; of dimension |
coords |
matrix of coordinates |
gridTopology |
3-row-matrix or of class |
n |
number of iid copies of the random field, default is 1 |
vdim |
number of dimensions of the values of the random field, default is 1 |
T |
time component if any. The length of the temporal grid
is needed by |
vdim_close_together |
logical. Currently, only |
Object of class
RFspatialGridDataFrame
,
RFspatialPointsDataFrame
,
RFgridDataFrame
or
RFpointsDataFrame
.
Alexander Malinowski, Martin Schlather, schlather@math.uni-mannheim.de, https://www.wim.uni-mannheim.de/schlather/
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set ## RFoptions(seed=NA) to make them all random again x <- 1:20 z <- RFsimulate(RMexp(), x, spConform=FALSE) z2 <- conventional2RFspDataFrame(z, coord=x) Print(z, z2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.