Skip to content

Instantly share code, notes, and snippets.

@christophergandrud
Last active June 1, 2017 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christophergandrud/926a2289695374c3b5b57966b84a03f9 to your computer and use it in GitHub Desktop.
Save christophergandrud/926a2289695374c3b5b57966b84a03f9 to your computer and use it in GitHub Desktop.
---
title: "The zeligverse and beyond"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
[for Zelig version 5.1.1.9000, [setdirect branch](https://github.com/IQSS/Zelig/tree/setxdirect)]
```{r echo=FALSE}
library(DiagrammeR)
grViz("
digraph boxes_and_circles {
# a graph statement
graph [overlap = true, fontsize = 15]
node [shape = box,
color = grey,
fontcolor = grey,
fontname = Helvetica]
Other; glm; from_zelig_model;
zelig_qi_to_df
qi_slimmer; ggplot
node [shape = diamond]
to_zelig
node [shape = box,
penwidth = 3,
color = MediumSeaGreen,
fontcolor = MediumSeaGreen]
Amelia; MatchIt; WhatIf
node [shape = box,
penwidth = 3,
color = green,
fontcolor = green]
zelig; setx; sim; plot
edge [color = grey]
Other->glm
Other->zelig Amelia->zelig MatchIt->zelig
zelig->from_zelig_model
zelig->setx glm->setx
setx->to_zelig setx->sim to_zelig->sim
setx->WhatIf
sim->plot sim->zelig_qi_to_df
zelig_qi_to_df->qi_slimmer
qi_slimmer->ggplot
}
")
```
Dark green nodes are user-facing **Zelig** functions that predate **Zelig** version 5.0-15.
Light green nodes are non-**Zelig** **zeligverse** packages.
Diamond nodes are internally called functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment