View source: R/fractional.computations.R
| update.CBrSPDEobj2d | R Documentation |
Function to change the parameters of a CBrSPDEobj object
## S3 method for class 'CBrSPDEobj2d'
update(
object,
hx = NULL,
hy = NULL,
hxy = NULL,
sigma = NULL,
nu = NULL,
m = NULL,
...
)
object |
The covariance-based rational SPDE approximation,
computed using |
hx |
If non-null, update the hx parameter. |
hy |
If non-null, update the hy parameter. |
hxy |
If non-null, update the hxy parameter. |
sigma |
If non-null, update the standard deviation of the covariance function. |
nu |
If non-null, update the shape parameter of the covariance function. Will be used if parameterization is 'matern'. |
m |
If non-null, update the order of the rational approximation, which needs to be a positive integer. |
... |
Currently not used. |
It returns an object of class "CBrSPDEobj2d.
simulate.CBrSPDEobj2d(), matern2d.operators()
library(fmesher)
n_loc <- 2000
loc_2d_mesh <- matrix(runif(n_loc * 2), n_loc, 2)
mesh_2d <- fm_mesh_2d(loc = loc_2d_mesh, cutoff = 0.03, max.edge = c(0.1, 0.5))
op <- matern2d.operators(mesh = mesh_2d)
op <- update(op, nu = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.