summary.CBrSPDEobj {rSPDE} | R Documentation |
Summarise CBrSPDE objects
Description
Summary method for class "CBrSPDEobj"
Usage
## S3 method for class 'CBrSPDEobj'
summary(object, ...)
## S3 method for class 'summary.CBrSPDEobj'
print(x, ...)
## S3 method for class 'CBrSPDEobj'
print(x, ...)
Arguments
object |
an object of class "CBrSPDEobj", usually, a result of a call
to |
... |
further arguments passed to or from other methods. |
x |
an object of class "summary.CBrSPDEobj", usually, a result of a call
to |
Examples
# Compute the covariance-based rational approximation of a
# Gaussian process with a Matern covariance function on R
kappa <- 10
sigma <- 1
nu <- 0.8
range <- sqrt(8*nu)/kappa
# create mass and stiffness matrices for a FEM discretization
x <- seq(from = 0, to = 1, length.out = 101)
fem <- rSPDE.fem1d(x)
# compute rational approximation of covariance function at 0.5
tau <- sqrt(gamma(nu) / (sigma^2 * kappa^(2 * nu) *
(4 * pi)^(1 / 2) * gamma(nu + 1 / 2)))
op_cov <- matern.operators(
loc_mesh = x, nu = nu,
range = range, sigma = sigma, d = 1, m = 2,
parameterization = "matern"
)
op_cov
[Package rSPDE version 2.3.3 Index]