View source: R/gr_coordinates.R
Triples | R Documentation |
Triples
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.
Triples()
An empty object of class Triples
which is to be used with method evalPoints
to create matrix of
coordnates.
tri<- Triples() 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(tri, tobj, x) head(ep)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.