createEdgeData.ggobi {Rggobi}R Documentation

GGobi Dataset used for edges/connections

Description

This function creates an empty GGobi dataset that can be used to connect points within another dataset. The idea is that we create this ``invisible'' dataset within the GGobi instance. We don't specify values for the edges in this call, but use setEdges.ggobi for this.

Usage

createEdgeData.ggobi(numEdges, labels=rep("", numEdges), colors=NULL,
                      .gobi=getDefaultGGobi(), name = "R edge data")

Arguments

numEdges the total number of edges to create
labels the labels for the edges, which can be used in annotating the connections on a plot
colors the colors to use for the edges when displaying them
.gobi the GGobi instance
name the name to use for this dataset in tab labels and when referring to it.

Value

An object of class ggobiEdgeDataset which extends ggobiDataset.

Note

The edge mechanism in GGobi is very powerful and supports a very general form of linking. As a result, simple uses may appear complex. The idea with this interface is to try to hide the complexity. However, you are advised to read the GGobi and RGGobi manuals to get a better understanding of edges and linking.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org/RSggobi http://www.ggobi.org

See Also

getEdges.ggobi setEdges.ggobi setDisplayEdges.ggobi

Examples



[Package Rggobi version 1.1-3 Index]