getEdges.ggobi {Rggobi} | R Documentation |
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.
getEdges.ggobi(.data=1, .gobi=getDefaultGGobi()) setEdges.ggobi(x, y, append=T, .data=1, .gobi=getDefaultGGobi())
.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. |
A matrix giving the edge pairs before the call.
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.
Duncan Temple Lang
createEdgeData.ggobi
setDisplayEdges.ggobi