Learn R Programming

gremes (version 0.1.1)

Tuples: Creates an empty object of class Tuples

Description

It is used for creating the coordinates where the stable tail dependence function (stdf) is evaluated. For instance in the extremal coefficient estimator. For more information about it see Vignettes "Estimation - Note 3" and "Code - Note 3" and "Subsets and Coordinates". It is designed for use with method evalPoints. See the examples therein.

Usage

Tuples()

Arguments

Value

An empty object of class Tuples which is to be used with method evalPoints to create matrix of coordnates.

Examples

Run this code
tup<- Tuples()

seg<- make_tree(8,2, mode = "undirected")
seg<- set.vertex.attribute(seg, "name", V(seg), letters[1:8])
data<- matrix(rnorm(10*8), 10,8)
colnames(data)<- letters[1:8]
tobj<- Tree(seg, data)

x<- rep(1,8)
names(x)<- get.vertex.attribute(tobj$graph, "name", V(tobj$graph))

ep<- evalPoints(tup, tobj, x)
head(ep)

Run the code above in your browser using DataLab