stCopula: Spatio-Temporal Copula

Description Usage Arguments Value Author(s) See Also Examples

View source: R/stCopula.R

Description

Constructor of a bivariate spatio-temporal copula stCopula.

Usage

1
stCopula(components, tlags, distances=NA, stDepFun, unit="m", tres="day")

Arguments

components

A list of bivariate spatial copulas (spCopula) to be used at each temporal lag. Or a list of with lists of the spatial components per temporal lag together with the argument distances.

tlags

The temporal lags used in the spatio-temporal copula.

distances

This and the following 2 arguments are only necessary when the provided components argument is not yet a list of spCopulas: A vector of the mean distances of the spatial lag classes.

stDepFun

A list of spatial dependence functions; one per temporal lag. This argument is only needed when components is not yet a list of spCopulas.

unit

The spatial unit, default: m (meters). This argument is only needed when components is not yet a list of spCopulas.

tres

The temporal resolution, default: day

Value

An instance of the spatio-temporal Copula class stCopula.

Author(s)

Benedikt Graeler

See Also

spCopula

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
spCopT0 <- spCopula(components=list(claytonCopula(8), claytonCopula(4), 
                                    claytonCopula(2), claytonCopula(1),
                                    claytonCopula(0.5), indepCopula()),
                    distances=c(0,100,200,300,400,500),
                    unit="km")
spCopT1 <- spCopula(components=list(claytonCopula(4), claytonCopula(2), 
                                    claytonCopula(1), claytonCopula(0.5),
                                    indepCopula()),
                    distances=c(0,100,200,300,400),
                    unit="km")
spCopT2 <- spCopula(components=list(claytonCopula(2), claytonCopula(1), 
                                    claytonCopula(0.5), indepCopula()),
                    distances=c(0,100,200,300),
                    unit="km")

stCop <- stCopula(components=list(spCopT0, spCopT1, spCopT2),
                  tlags=-(0:2))

BenGraeler/spcopula documentation built on Nov. 20, 2020, 4:07 p.m.