Class RFpointsDataFrame
Class for attributes in one-dimensional space that are not on a grid.
## S4 method for signature 'RFpointsDataFrame' RFspDataFrame2conventional(obj)
obj |
an |
Objects can be created by using the functions
RFpointsDataFrame or
conventional2RFspDataFrame or by calls of the form
as(x, "RFpointsDataFrame"), where x is of class
RFpointsDataFrame.
data:object of class data.frame,
containing attribute data
coords:n-times-1 matrix of coordinates (each row is a point)
.RFparams:list of 2; .RFparams$n is the number
of repetitions of the random field contained in the data slot,
.RFparams$vdim gives the dimension of the values of the random
field, equals 1 in most cases
signature(obj =
"RFpointsDataFrame"): generates nice plots
of the random field; if space-time-dim2, a two-dimensional
subspace can be selected using the argument
MARGIN; to get different slices in a third direction, the
argument MARGIN.slices can be used;
for more details see plot-method or type
method?plot("RFpointsDataFrame").
signature(x = "RFpointsDataFrame"):
uses the show-method for class SpatialPointsDataFrame.
signature(x = "RFpointsDataFrame"):
identical to show-method
signature(obj =
"RFpointsDataFrame"): conversion to a list of
non-sp-package based objects; the data-slot
is converted to an array of dimension [1*(vdim>1) +
space-time-dimension + 1*(n>1)]
signature(x = "RFpointsDataFrame"):
returns the coordinates
signature(x = "RFpointsDataFrame"): selects
columns of data-slot; returns an
object of class RFpointsDataFrame.
signature(x = "RFpointsDataFrame"): replaces
columns of data-slot; returns an
object of class RFpointsDataFrame.
signature(x = "RFpointsDataFrame"):
converts into other formats, only implemented for target class
RFgridDataFrame
signature(...): if arguments have identical
topology, combine their attribute values
signature(x = "RFpointsDataFrame"): returns the range
signature(x = "RFpointsDataFrame"): plots histogram
signature(x = "RFpointsDataFrame"): converts
data-slot to matrix
signature(x = "RFpointsDataFrame"): converts
data-slot to array
signature(x = "RFpointsDataFrame"): converts
data-slot to vector
signature(x = "RFpointsDataFrame"):
converts data-slot and coordinates to a data.frame
Methods summary and dimensions
are defined for the “parent”-class
RFsp.
Alexander Malinowski, Martin Schlather, schlather@math.uni-mannheim.de, https://www.wim.uni-mannheim.de/schlather/
RFspatialPointsDataFrame, which is for point
locations in higher dimensional spaces,
RFpointsDataFrame-class which is for one-dimensional
locations on a grid,
RFsp
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set ## RFoptions(seed=NA) to make them all random again x <- runif(100) f <- RFsimulate(model=RMexp(), x=x, n=3) str(f) str(RFspDataFrame2conventional(f)) head(coordinates(f)) str(f[2]) ## selects second column of data-slot all.equal(f, cbind(f,f)[1:3]) ## TRUE plot(f, nmax=2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.