RandomFields (version 3.0.5)

RFgridDataFrame-class: Class RFgridDataFrame

Description

Class for attributes in one-dimensional space.

Arguments

Creating Objects

Objects can be created by using the functions RFgridDataFrame or conventional2RFspDataFrame or by calls of the form as(x, "RFgridDataFrame"), where x is of class RFgridDataFrame.

Details

Methods summary and dimensions are defined for the parent-class RFsp.

See Also

RFspatialGridDataFrame, which is for point locations in higher dimensional spaces, RFsp

Examples

Run this code
set.seed(0)

x <- seq(0,10,length=100)
f <- RFsimulate(model=RMgauss(), x=x, n=3)

str(f)
str(RFspDataFrame2conventional(f))
coordinates(f)[1:25,]
str(f[2]) ## selects second column of data-slot
all.equal(f, cbind(f,f)[1:3]) ## TRUE

plot(f, nmax=2)

Run the code above in your browser using DataLab