Adjacent: Creates an empty object of class 'Adjacent'

View source: R/gr_coordinates.R

AdjacentR Documentation

Creates an empty object of class Adjacent

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

Adjacent()

Value

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

Examples

adj<- Adjacent()
adj
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(adj, tobj, x)
head(ep)

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