get.sparsity.graph.rspde: Sparsity graph for rSPDE models

View source: R/util.R

get.sparsity.graph.rspdeR Documentation

Sparsity graph for rSPDE models

Description

Creates the sparsity graph for rSPDE models

Usage

get.sparsity.graph.rspde(
  mesh = NULL,
  fem_mesh_matrices = NULL,
  nu,
  force_non_integer = FALSE,
  rspde_order = 2,
  sharp = TRUE,
  dim = NULL
)

Arguments

mesh

An INLA mesh, optional

fem_mesh_matrices

A list containing the FEM-related matrices. The list should contain elements C, G, G_2, G_3, etc. Optional, should be provided if mesh is not provided.

nu

The smoothness parameter

force_non_integer

Should nu be treated as non_integer?

rspde_order

The order of the covariance-based rational SPDE approach.

sharp

The graph should have the correct sparsity (costs more to perform a sparsity analysis) or an upper bound for the sparsity?

dim

The dimension, optional. Should be provided if mesh is not provided.

Value

The sparsity graph for rSPDE models to be used in R-INLA interface.


rSPDE documentation built on Sept. 17, 2022, 1:05 a.m.