RPtbm(phi, loggauss, fulldim, reduceddim, layers, lines,
linessimufactor, linesimustep, center, points)
RMmodel
;
specifies the covariance function to be simulated;
a univariate stationary isotropic covariance model
(see RFgetModelNames(type="positive definite",
fulldim
TRUE
then the turning layers are
used whenever a time component is given.
If NA
the turning layers are used only when the
traditional TBM is not applicable.
If FALSE
then60
.linessimufactor
or
linesimustep
must be non-negative; if
linesimustep
is positive then linesimufactor
is ignored.
If both
parameters are naught then points
is used (and must be
positivlinesimustep
is positive the grid on the line has lag
linesimustep
.
See also linesimufactor
.
Default: 0.0
.NA
, the center
is used as the center of
the turning bands for fulldim
.
Otherwise the center is determined
automatically such that the line length is minimal.
See also points
points
gives the number of points simulated on the TBM
line, hence
must be greater than the minimal number of points given by
the size of the simulated field and the two paramters
linesimufactor
RPtbm
returns an object of class RMmodel
linesimustep
andlinesimufactor
.
For covariance models with larger values of the scale parameter,linesimufactor=2
is too small.The turning layers are used for the simulations with time component. Here, if the model is a multiplicative covariance function then the product may contain matrices with pure time component. All the other matrices must be equal up to a factor and the temporal part of the anisotropy matrix (right column) may contain only zeros, except the very last entry.
RFoptions(seed=0)
model <- RPtbm(RMstable(s=1, alpha=1.8))
x <- seq(-3,3,0.1)
z <- RFsimulate(model=model, x=x, y=x, grid=TRUE)
plot(z)
model <- RPtbm(RMexp(Aniso=matrix(nc=2, rep(1,4))))
z <- RFsimulate(model=model, x=x, y=x, grid=TRUE)
plot(z)
RFoptions(seed=NA)
Run the code above in your browser using DataLab