spCopula-class: Class '"spCopula"'

Description Objects from the Class Slots Extends Methods Author(s) References Examples

Description

A class representing a bivariate spatial copula.

Objects from the Class

Objects can be created by calls of the form new("spCopula", ...) or by the function spCopula.

Slots

components:

Object of class "list" A list of copula components per lag.

distances:

Object of class "numeric" The mean distances of the lag classes.

calibMoa:

Object of class "function" A function providing the copulas' parameter based on a measure of association.

unit:

Object of class "character" The spatial unit.

dimension:

Object of class "integer" The dimension of the copula (2).

parameters:

Object of class "numeric" The parameters of the components.

param.names:

Object of class "character" Names of the above parameters.

param.lowbnd:

Object of class "numeric" The lower bounds of the above parameters.

param.upbnd:

Object of class "numeric" The upper bounds of the above parameters.

fullname:

Object of class "character"A phrase describing the spatial copula.

Extends

Class "copula", directly. Class "Copula", by class "copula", distance 2.

Methods

dduCopula

signature(u = "numeric", copula = "spCopula"): ...

ddvCopula

signature(u = "numeric", copula = "spCopula"): ...

Author(s)

Benedikt Graeler

References

Graeler, B. and E. Pebesma (2011): The pair-copula construction for spatial data: a new approach to model spatial dependency. Procedia Environmental Sciences (Vol. 7, pp. 206 - 211), Elsevier.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# data from demo(spcopula_estimation)
data("spCopDemo") 

calcKTauPol <- fitCorFun(bins, degree=3)

spCop <- spCopula(components=list(normalCopula(0), tCopula(0, dispstr = "un"),
                                  frankCopula(1), normalCopula(0), claytonCopula(0),
                                  claytonCopula(0), claytonCopula(0), claytonCopula(0),
                                  claytonCopula(0), indepCopula()),
                  distances=bins$meanDists,
                  spDepFun=calcKTauPol, unit="m")
                  
dCopula(u=matrix(c(.3,.3,.7,.7),ncol=2),spCop,h=c(200,400))
pCopula(u=matrix(c(.3,.3,.7,.7),ncol=2),spCop,h=c(200,400))

spcopula documentation built on May 2, 2019, 4:49 p.m.