make_stcovariance: Make a covariance matrix

Description Usage Arguments Value

View source: R/make_stcovariance.R

Description

Make a covariance matrix

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
make_stcovariance(covparam_object, h_s_large, h_t_large, s_cor, t_cor)

## S3 method for class 'productsum'
make_stcovariance(covparam_object, h_s_large, h_t_large, s_cor, t_cor)

## S3 method for class 'sum_with_error'
make_stcovariance(covparam_object, h_s_large, h_t_large, s_cor, t_cor)

## S3 method for class 'product'
make_stcovariance(covparam_object, h_s_large, h_t_large, s_cor, t_cor)

Arguments

covparam_object

A covparam object

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)

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.

Value

A covariance matrix.


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