RFsp
from conventional objectsconventional2RFspDataFrame(data, coords=NULL, gridTopology=NULL, n=1,
vdim=1)
c(vdim, space-time-dim, n)
;
contains the values of the random fieldsGridTopology
; specifies
the grid vectors; either
coords
or gridTopology
must be NULL
RFoptions(seed=0)
x <- 1:20
z <- RFsimulate(RMexp(), x, spC=FALSE)
z2 <- conventional2RFspDataFrame(z, coord=x)
Print(z, z2)
RFoptions(seed=NA)
Run the code above in your browser using DataLab