Model for covariates
The model makes covariates available.
RMcovariate(formula=NULL, data, x, y=NULL, z=NULL, T=NULL, grid, raw, norm, addNA, factor)
formula, data |
formula and by which the data should be modelled, similar to lm. If |
x,y,z,T,grid |
optional.
The usual arguments as in |
raw |
logical. If |
norm |
optional model that gives the norm between locations |
addNA |
If |
factor |
real value. From user's point of view very much the same
as setting the argument |
.
The function interpolates (nearest neighbour) between the values.
RMcovariate
returns an object of class RMmodel
.
c
, x
also accept lists of data. However, its use is not in an advanced
stage yet.
Martin Schlather, schlather@math.uni-mannheim.de, https://www.wim.uni-mannheim.de/schlather/
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set ## RFoptions(seed=NA) to make them all random again z <- 0.2 + (1:10) RFfctn(RMcovariate(z), 1:10) RFfctn(RMcovariate(data=z, x=1:10), c(2, 2.1, 2.5, 3))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.