I am trying to use a package in the RD3 network to visualize some networks and I Use the example:
# Load data data (wrong links) Create graph # d3ForceNetwork (link = mislinks, nodes = msnets, source = "source", target = "target" , Value = "value" nodid = "name", group = "group", opacity = 0.4) This only allows me to script instead of a plot Gives a bunch of I saw this example on the Internet and it seems that others did not cross this kind of issue. So am I doing something wrong or something is missing? And I would also like to know how to specify the color of source nodes and target nodes.
In advance thanks
It looks like you D3 network < / B> package which is outdated and is no longer supported. Try using the networkD3 package
The name of the function is: Force network
Try it out:
Library Networked 3) Data (Mislinks) force network (link = wrong links, node = msnets, source = "source", target = "target", value = "value", nodid = "name", group = "Group", ambiguity = 1)
No comments:
Post a Comment