Skip to content

Instantly share code, notes, and snippets.

View ivyleavedtoadflax's full-sized avatar
🥘

Matt Upson ivyleavedtoadflax

🥘
View GitHub Profile
# Load packages including ggplot2
library(dplyr)
library(purrr)
library(ggplot2)
# Follow example as at: https://github.com/hadley/purrr/blob/master/README.md
random_group <- function(n, probs) {
---
title: "To draw a map"
author: "Matthew Upson"
date: "10 September 2015"
output: pdf_document
---
[http://stackoverflow.com/questions/32466608/accessing-the-internet-with-knitr](http://stackoverflow.com/questions/32466608/accessing-the-internet-with-knitr)
---
title: "Xtable examples"
subtitle: "From [this thread](http://stackoverflow.com/questions/32005471/simple-example-of-using-tables-knitr-for-latex)"
author: "Matthew Upson"
date: "15 August 2015"
output: pdf_document
---
```{r}
library("xtable")
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\section{Info}
Solution to \href{http://stackoverflow.com/questions/30309311/error-in-applying-a-for-loop-to-an-xtable-in-knitr}{this} Stack Overflow post. Tested with \texttt{xtable} version 1.7-4 on:
@ivyleavedtoadflax
ivyleavedtoadflax / Working-Papers
Last active August 29, 2015 13:55
Using Working-Papers in the Harvard Cranfield University style in Mendeley
Working-Papers
At present, Mendeley does not support the use of the Institution and Series field which
are used in the Working-Paper and Report style. We can only hope that support is added
for this is in the future.
In the meantime, correct bibliography entries for the style...
Arcand, J., Berkes, E. & Panizza, U. (2012). Too much finance?
IMF Working Papers. WP/12/161. IMF, Washington DC