Learn R Programming

HiveR (version 0.2-16)

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:

llll{ element (element) type description $nodes data frame Data frame of node properties $id int Node identifier $lab chr Node label $axis int Axis to which node is assigned $radius num Radius (position) of node along the axis $size num Node size in pixels $color chr Node color $edges data frame Data frame of edge properties $id1 int Starting node id $id2 int Ending node id $weight num Width of edge in pixels $color chr Edge color $type chr Type of hive. See Note. $desc chr Description of data $axis.cols chr Colors for axes - attr chr "HivePlotData" The S3 class designation. }

References

http://academic.depauw.edu/~hanson/HiveR/HiveR.html

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