Today I spent some time to manually convert the NetLogo code for Party Competition from version 5 to version 6.
Fascinating book, by the way.
When I was LaTeX user in the past, I like TikZ and tikzDevice a lot. After switching to R Markdown, however, I gradually forgot about them. Today I spent some time figuring out how to make TikZ and tikzDevice work for R Markdown. Here is some simple code: