Learn R Programming

matie (version 1.0)

fdg: Force Directed Graph from all pairs association.

Description

Constructs and draws a force directed graph using all pairs association matrix to drive attraction in the graph. This adjacency matrix can represent linear or non-linear associations.

Usage

fdg(dataSet, dataName, method, cutoff, dim)

Arguments

Value

Returns nothing.

Details

The igraph package is used to generate, layout and display the force directed graph. The layout employed is layout.kamada.kawai.

References

coming soon

See Also

ma cor agram

Examples

Run this code
data(baseballData)
    fdg(baseballData,dataName="baseballData",method="A",cutoff=0.35,dim=2)
    
    # if you have rgl available then try dim=3 
    # fdg(baseballData,dataName="baseballData",method="Rsq",cutoff=0.15,dim=3)

Run the code above in your browser using DataLab