make_invert_object: Make the Inversion Object.

Description Usage Arguments Value

View source: R/make_invert_object.R

Description

Make the Inversion Object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
make_invert_object(
  covparam_object,
  chol,
  co = NULL,
  condition,
  h_s_large = NULL,
  h_t_large = NULL,
  h_s_small = NULL,
  h_t_small = NULL,
  logdet,
  m_index = NULL,
  o_index = NULL,
  s_cor,
  t_cor,
  xo,
  yo
)

Arguments

covparam_object

A covariance parameter object from make_covparam_object().

chol

Should the Cholesky decomposition be used? If FALSE, efficient inversion algorithms are implemented. Defaults to FALSE.

co

The covariance at prediction locations (if specified)

condition

A small number added to the diagonals of matrices before inverting them to prevent ill-conditioning (defaults to 1e-4).

h_s_large

A spatial distance matrix of all spatio-temporal observations (if specified)

h_t_large

A temporal distance matrix of all spatio-temopral observations (if specified)

h_s_small

A spatial distance matrix of all spatial locations (if specified)

h_t_small

A temporal distance matrix of all temporal locations (if specified)

logdet

Should the log determinant be returned? (defaults to FALSE).

m_index

An index of missing values (from the space time cube).

o_index

An index of observed values (from the space time cube).

s_cor

The spatial correlation

exponential

The exponential correlation (the default).

spherical

The spherical correlation.

gaussian

The Gaussian correlation.

t_cor

The temporal correlation

exponential

The exponential correlation (the default).

spherical

The spherical correlation.

gaussian

The Gaussian correlation.

tent

The tent (linear with sill) correlation.

xo

The fixed effects design matrix.

yo

A response vector.

Value

A list of relevant inversion information.


michaeldumelle/DumelleEtAl2021STLMM documentation built on Dec. 21, 2021, 5:56 p.m.