Quadruples: Creates an empty object of class 'Quadruples'

View source: R/gr_coordinates.R

QuadruplesR Documentation

Creates an empty object of class Quadruples

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

Quadruples()

Value

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

Examples

quad<- Quadruples()
quad
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(quad, tobj, x)
head(ep)

gremes documentation built on Feb. 16, 2023, 8:06 p.m.