getEdges.ggobi {Rggobi}R Documentation

Connections between points in a GGobi dataset

Description

These functions allow the user to establish and query connections between points in a GGobi instance and use this information to show edge connections on displays.

Usage

getEdges.ggobi(.data=1, .gobi=getDefaultGGobi())
setEdges.ggobi(x, y, append=T, .data=1, .gobi=getDefaultGGobi())

Arguments

.data an identifier for the dataset within the GGobi instance, given as an index or an object of class the ggobiDataset
.gobi an identifier for the GGobi instance which can be omitted if .data is a ggobiDataset object. Otherwise this should be an integer identifying the GGobi instance or a ggobi object.
x a vector identifying the source of the edges by index or a 2 column matrix giving the source and destination
y a vector giving the indeces of the destination nodes of the edges used together with x
append a logical value indicating whether to add these to the dataset or to replace the existing connections with these.

Details

Value

A matrix giving the edge pairs before the call.

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

See Also

createEdgeData.ggobi setDisplayEdges.ggobi

Examples



[Package Contents]