View source: R/spde_covariance.R
spde_variance | R Documentation |
Computes the variance function for a Whittle-Matérn field. Warning is not feasible for large graph due to matrix inversion
spde_variance(
kappa,
tau,
range,
sigma,
alpha,
graph,
BC = 1,
include_vertices = FALSE,
directional = F
)
kappa |
Parameter kappa from the SPDE. |
tau |
Parameter tau from the SPDE. |
range |
Range parameter. |
sigma |
Standard deviation parameter. |
alpha |
Smoothness parameter (1 or 2). |
graph |
A |
BC |
boundary conditions |
include_vertices |
Should the variance at the vertices locations be included in the returned vector? |
directional |
bool is the model a directional or not. directional only works for alpha=1 |
Compute the variance \rho(s_i,s_i)
where
s_i
are all locations in the mesh
of the graph.
Vector with the variance function evaluate at the mesh locations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.