Publications by schochastics
Introducing graphlayouts with Game of Thrones
This post introduces the new R package graphlayouts which is available on CRAN since a few days. We will use network data from the Game of Thrones TV series (seemed timely at the time of writing) to illustrate the core layout algorithms of the package. Most of the algorithms use stress majorization as its basis, which I described in more detail i...
5440 sym R (5336 sym/14 pcs) 20 img
Mapping NBA Shot Locations
I recently came across the article “How Mapping Shots In The NBA Changed It Forever” and although I am not a big basketball fan, I was impressed by the visualizations. I actually bought the book “Sprawlball” by Kirk Goldsberry afterwards, where this was taken from. I can only recommend it, even if you are not a huge basketball fan since i...
4634 sym R (9388 sym/9 pcs) 8 img
graphlouts v0.5.0 released
A new version of graphlayouts is now available on CRAN. This major update introduces several new layout algorithms and adds additional support for weighted networks. Here is a breakdown of all changes: BREAKING CHANGE: removed qgraph(). Now part of ggraph. POSSIBLE BREAKING CHANGE: layout_with_focus() now also returns the distance to the focus n...
3055 sym R (3605 sym/4 pcs) 10 img
New RStudio addins for network analysis
A new version of the snahelper package is now available on CRAN. If you do not now the package: So far, it included one RStudio addin that provided a GUI to analyze and visualize networks. Check out the introductory post for more details. This major update includes two more addins that further facilitate the work with network data in R. The pack...
3876 sym 10 img
A large repository of networkdata
There are many network repositories out there that offer a large variety of amazing free data. (See the awesome network analysis list on github for an overview.) The problem is, that network data can come in many formats. Either in plain text as edgelist or adjacency matrix, or in a dedicated network file format from which there are many (paj,dl,...
3997 sym R (1856 sym/5 pcs) 2 img
A package for analysing signed networks
This post introduces the R package signnet, available on CRAN, which implements several methods to analyze signed networks. Signed networks include two types of relations, positive and negative ones (say friends and enemies). They are fundamentally different from traditional networks and require a very different set of tools to analyse them. This...
14540 sym R (6170 sym/29 pcs) 18 img
ggraph tricks for common problems
In this post I am going to share some bits of code for some common problems that I encountered with {{ggraph}}. By problems, I do not mean problems in the package. Rather, I mean the things you want to do, that require going a little beyond the standard use cases. Some of my proposed solutions may seem a little “hacky” and there may well be m...
3487 sym R (6818 sym/11 pcs) 22 img
Posts
Related To leave a comment for the author, please follow the link and comment on their blog: schochastics. R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job. Want to share your content on R-bloggers? click here if yo...
394 sym
Visualizing Multilevel Networks with graphlayouts
This post introduces layout_as_multilevel(), a new function in the {{graphlayouts}} package. As the name suggests, this function can be use to visualize multilevel networks. A multilevel network consists of two (or more) levels with different node sets and intra-level ties. For instance, one level could be scientists and their collaborative ties ...
3641 sym R (3628 sym/8 pcs) 8 img
Sketchy, Hand-drawn-like Networks in R
This post introduces the R package rougnet, which wraps the java script library rough.js to draw sketchy, hand-drawn-like networks. From all my network packages, this is probably the most useless but most fun one I developed. The package is so far only available on github, but it already has a fitting pkgdown page. #install.packages("remotes") r...
2246 sym R (2539 sym/7 pcs) 12 img