This file contains 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
# plot and animate SDT measures (assuming Gaussian densities) | |
# Copyright Tom Wallis, 2018. | |
# Shared under a CC-BY license. | |
library(ggplot2) | |
library(latex2exp) | |
library(animation) | |
# See bottom for a demo of animation |
This file contains 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
# Adapted from http://gist.github.com/bsag/4197052#file-panda-rb | |
pandoc markdown_file.txt --variable mainfont='Minion Pro' --latex-engine=xelatex -o markdown_file.pdf |