Learn R Programming

HiveR (version 0.4.0)

HivePlotData: Hive Plot Data Objects

Description

In package HiveR, hive plot data sets are stored as an S3 class called HivePlotData, detailed below.

Arguments

Structure

The structure of a HivePlotData object is a list of 6 elements, some of which are data frames, and an attribute, as follows:

element(element)typedescription
$nodesdata frameData frame of node properties
$idintNode identifier
$labchrNode label
$axisintAxis to which node is assigned
$radiusnumRadius (position) of node along the axis
$sizenumNode size in pixels
$colorchrNode color
$edgesdata frameData frame of edge properties
$id1intStarting node id
$id2intEnding node id
$weightnumWidth of edge in pixels
$colorchrEdge color
$typechrType of hive. See Note.
$descchrDescription of data
$axis.colschrColors for axes
- attrchr "HivePlotData"The S3 class designation.

Author

Bryan A. Hanson, DePauw University. hanson@depauw.edu

See Also

sumHPD to summarize a HivePlotData object.
chkHPD to verify the integrity of a HivePlotData object.
ranHiveData to generate random HivePlotData objects for testing and demonstration.

Examples

Run this code

test4 <- ranHiveData(nx = 4)
str(test4)
sumHPD(test4)
plotHive(test4)

Run the code above in your browser using DataLab