Description Usage Arguments Value Author(s) References Examples
Construct an instance of the mixedSpVineCopula
or pureSpVineCopula
grouped as the spVineCopula
super class.
1 | spVineCopula(spCop, topCop=NULL)
|
spCop |
Object of class |
topCop |
Object of class |
An instance of the spVineCopula
class (either mixedSpVineCopula
or pureSpVineCopula
).
Benedikt Graeler
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # a spatial C-vine copula (with independent dummy copulas in the upper vine)
library("VineCopula")
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")
library("VineCopula")
RVM <- RVineMatrix(matrix(c(1,0,0,2,2,0,3,3,3),3,byrow=TRUE))
spVineCopula(spCop, vineCopula(RVM))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.