| precision.intrinsicCBrSPDEobj | R Documentation |
Function to get the precision matrix of a intrinsicCBrSPDEobj object
## S3 method for class 'intrinsicCBrSPDEobj'
precision(
object,
kappa = NULL,
tau = NULL,
alpha = NULL,
beta = NULL,
ld = FALSE,
...
)
object |
The model object computed using |
kappa |
If non-null, update the range parameter. |
tau |
If non-null, update the precision parameter. |
alpha |
If non-null, update the alpha parameter. |
beta |
If non-null, update the beta parameter. |
ld |
If TRUE, return the log determinant of the precision matrix instead of the precision matrix. By default FALSE. |
... |
Currently not used. |
The precision matrix.
simulate.intrinsicCBrSPDEobj(), intrinsic.matern.operators()
if (requireNamespace("RSpectra", quietly = TRUE)) {
x <- seq(from = 0, to = 10, length.out = 201)
beta <- 1
alpha <- 1
kappa <- 1
op <- intrinsic.matern.operators(
kappa = kappa, tau = 1, alpha = alpha,
beta = beta, loc_mesh = x, d = 1
)
Q <- precision(op)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.