This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- MathJax configuration --> | |
| <script type="text/x-mathjax-config"> | |
| MathJax.Hub.Config({ | |
| TeX: { equationNumbers: {autoNumber: "AMS"} }, | |
| tex2jax: { | |
| inlineMath: [ ['$','$'], ["\\(","\\)"] ], | |
| processEscapes: true | |
| } | |
| }); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Place this into the header of your HTML | |
| <script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script> | |
| # Embed the gist using a div of this format: | |
| <div class="gist">https://gist.github.com/`username`/`gist#`</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| snip <- function(input) { | |
| pb <- pipe("pbcopy", "w") | |
| write(input, file=pb) | |
| close(pb) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### XKCD theme for ggplot2 | |
| theme_xkcd <- theme( | |
| panel.background = element_rect(fill="white"), | |
| axis.ticks = element_line(colour=NA), | |
| panel.grid = element_line(colour="white"), | |
| axis.text.y = element_text(colour=NA), | |
| axis.text.x = element_text(colour="black"), | |
| text = element_text(size=16, family="Humor Sans") | |
| ) |
NewerOlder