RFsp2conventional {RandomFields}R Documentation

coerce RFsp-class to conventional format

Description

coerce RFsp-class to conventional format

Usage

RFspDataFrame2conventional(obj)

RFspDataFrame2dataArray(obj)

Arguments

obj

object of class RFsp.

Value

RFspDataFrame2conventional returns a list; RFspDataFrame2dataArray returns an array containing the data-slot of obj;

Author(s)

Alexander Malinowski Alexander.Malinowski@web.de

See Also

RFspatialGridDataFrame, RFspatialPointsDataFrame

Examples

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))



[Package RandomFields version 3.0.62 Index]