- Update to fix changes in dplyr - specifically use
dplyr::n()
- Use
inhereits(dat, "matrix")
instead ofclass(x) =! "matrix"
- Adds spell check WORDLIST
Update to account for changes in ggplot2 version 3.0.0
- website added
- vignette added
- minor bug fixes
This version of geomnet has been updated to account for changes in ggplot2 version 2.2.0.
- Introduction of
"adjmat"
and"edgedf"
classes for newly addedfortify
methods. fortify
methods included for"network"
,"igraph"
,"adjmat"
, and"edgedf"
class objects to transform network objects to data frame objects that can be visualized usinggeom_net()
.- Legend icons are updated to better represent the network data. A micro-network is drawn instead of a single point or line.
- Added
plotly
functionality. Hovertext describes edges and provides node labels. Note that arrows are not currently supported inplotly
, so directed networks will appear as undirected. - New logical parameter
singletons
added for plotting all nodes in a network even if they have indegree and outdegree of zero. This is most likely to be useful when facetting. The default isTRUE
, so all nodes are plotted in all panels. Whensingletons = FALSE
, nodes are only plotted in the panel(s) in which they have at least one incoming or outgoing edge.
- Plotting labels is slightly different. Use
labelon = TRUE
to plot labels with the node ids. Uselabel
insideaes()
to map a variable value to node label. - The
selfies
argument for drawing self-loops on nodes has been changed toselfloops
.
- Vignette added with several side-by-side comparison examples of
geomnet
withGGally::ggnet2()
andggnetwork
by François Briatte