| RFsp2conventional {RandomFields} | R Documentation |
coerce RFsp-class to conventional format
RFspDataFrame2conventional(obj) RFspDataFrame2dataArray(obj)
obj |
object of class |
RFspDataFrame2conventional returns a list;
RFspDataFrame2dataArray returns an array containing the
data-slot of obj;
Alexander Malinowski Alexander.Malinowski@web.de
RFspatialGridDataFrame,
RFspatialPointsDataFrame
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set ## RFoptions(seed=NA) to make them all random again n <- 3 x <- GridTopology(cellcentre.offset=c(0, 0), cellsize=c(1, 0.2), cells.dim=c(10, 30)) f <- RFsimulate(model=RMexp(), x=x, n=n) str(f) str(RFspDataFrame2conventional(f))