Description Usage Arguments Value Author(s) Examples
Generate an object of class RFsp
from conventional objects.
1 2 | 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
1 2 3 4 5 6 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.