Description Usage Arguments Details Value Note See Also Examples
View source: R/RMmodelsSpecial.R
The model makes covariates available.
1 2 |
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 |
\argRaw |
norm |
\argNorm |
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.
1 2 3 4 5 6 | 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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.