Diagrammer

Swirl course for the DiagrammeR package

View the Project on GitHub jonmcalder/DiagrammeR

Project Status: WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

This is a course for use with the swirl R package. swirl is a platform for learning (and teaching) statistics and R interactively via the R console.

For more information regarding swirl, visit the swirl website or the swirl GitHub repository.

Overview

The excellent DiagrammeR package, is a tool for producing diagrams and network graphs in R. There is very good documentation available for the package (at the above link), but learning by doing is often best and that's where swirl thrives!

This course will guide you through some of the basics of DiagrammeR and give you some hands on experience with the package. Hopefully this will serve as a great springboard for you so that you can produce all kinds of wonderful diagrams in future.

Installation

First make sure you have swirl installed:

install.packages("swirl")

Or alternatively get the latest development version:

install.packages("devtools")
devtools::install_github("swirldev/swirl", ref = "dev")

Then to install this course and get started simply run:

library(swirl)
install_course_github("jonmcalder", "DiagrammeR")
swirl()

Contribute

At the moment this course is still very much a work in progress but please feel free to give it a try in it's current state and report any problems you have or leave suggestions for improvement on the issues page as you work through the lessons.

If you are able to submit a pull request that would be even better! :-)

Thanks

Thanks to the swirl developers @ncarchedi, @seankross, and @WilCrofter as well as many others who have contributed code and/or learning content to swirl.

I would like to commend them for the excellent documentation for swirl and swirlify as this really facilitates the process of getting started.

And of course big thanks to @rich-iannone, the creator of the awesome DiagrammeR package, who has also clearly put a lot of effort into the documentation for the package and it shows.