Description Usage Arguments Value Author(s) Examples
Construct an instance of the stVineCopula.
1  | stVineCopula(stCop, topCop)
 | 
stCop | 
 Object of class   | 
topCop | 
 Object of class   | 
An instance of the stVineCopula class.
Benedikt Graeler
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21  | # a spatio-temporal C-vine copula (with independent copulas in the upper vine)
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))
stVineCopula(stCop, vineCopula(9L))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.