Description Usage Arguments Value
Simulate a Spatio-Temporal Random Variable
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | strnorm(object, mu, size, condition = 1e-04, error, ...)
## S3 method for class 'matrix'
strnorm(object, mu, size, condition = 1e-04, error, ...)
## Default S3 method:
strnorm(
object,
mu,
size,
condition = 1e-04,
error,
xcoord,
ycoord = NULL,
tcoord,
data,
s_cor,
t_cor,
chol = FALSE,
h_options = NULL,
...
)
|
object |
An covariance matrix or a |
mu |
A mean vector with length equal to the number of rows in |
size |
The number of independent simulations |
condition |
A small number added to the diagonals of matrices before
inverting them to prevent ill-conditioning (defaults to |
error |
The random error type
|
... |
Additional arguments. |
xcoord |
A character vector specifying the column name of the x-coordinate
variable in |
ycoord |
A character vector specifying the column name of the y-coordinate
variable in |
tcoord |
A character vector specifying the column name of the t-coordinate (time)
variable in |
data |
A data object containing all necessary variables. |
s_cor |
The spatial correlation
|
t_cor |
The temporal correlation
|
chol |
Should the Cholesky decomposition be used? If |
h_options |
A list containing options to compute distances if
|
A vector of random variables (if size = 1
) or a matrix of
random variables (if size > 1
) whose columns indicate seprate
simulations. The row order corresponds to the rows of the covariance
matrix (if object
is a matrix) or the rows of data
(if
object
is a covparam
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.