LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Network visualization

    Employee
    Posted 02-24-2015 18:22

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    Say you have the following data:

    From, To, Amount
    123, 456, $10000
    123, 789, $10000
    456, 369, $10000
    789, 369, $10000
    369, 258, $20000
    258, 123, $20000
    147, 369, $30000
    789, 147, $50000

    The data shows transactions flowing between accounts, but it's hard to "see." That was the question posed by Michelle Lam - how can we generate network visualization with/from Lavastorm?

    Adrian Williams realized that of the many available options, one easy one is the R-package called 'igraph'. Here's a nice description of it:
    https://rulesofreason.wordpress.com/...graph-package/

    So here's an example of how we can leverage the R node in Lavastorm. For more information on setting up R, see this link (right hand side).

    network.jpg

    Attachment 846
    Attachments:


  • 2.  RE: Network visualization

    Employee
    Posted 02-25-2015 09:26

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mlam

    Thanks for posting this, Roger. This is related to the other thread that I just posted to ask whether anyone has used Lavastorm to produce a graphML output:
    http://community.lavastorm.com/threa...graphML-format

    I understand that there are other products geared for this type of network visualisation that are compatible with graphML file format so being able to produce a file of this format would also open other potential options, both licensed and open source.


  • 3.  RE: Network visualization

    Employee
    Posted 02-28-2015 02:52

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: andycooper

    If you don't already have the igraph package installed then you will need to do this first, within the R Console type the following command: -

    install.packages("igraph")

    Select an appropriate download mirror and the package will install. The R script in Roger's excellent graph may point to different location so I have updated the graph to include a parameter for both nodes to use. My library installed to C:/Program Files/R/R-3.1.1/library.

    Network Visualisation.brg

    Thanks

    Andy