Skip to content

Instantly share code, notes, and snippets.

View stephlocke's full-sized avatar

Steph Locke stephlocke

View GitHub Profile
@jonocarroll
jonocarroll / datasauRus_gganimate.R
Created August 15, 2018 06:20
Animated datasauRus
# modified from https://gist.github.com/sa-lee/c271b47d8065412d3d42c1ad8e63048d
library(datasauRus)
library(gganimate)
library(magrittr)
p <- datasaurus_dozen %>%
ggplot() +
geom_point(aes(x = x, y = y), col = "steelblue") +
theme(legend.position = 'none',
aspect.ratio = 1,
@ramnathv
ramnathv / index.Rmd
Last active March 23, 2021 17:15
RevealJS with Bootstrap Columns
---
title : RevealJS with Bootstrap
framework : revealjs
widgets : [bootstrap] # {mathjax, quiz, bootstrap}
---
## Read-And-Delete
1. Edit YAML front matter
2. Write using R Markdown
@yihui
yihui / input.Rnw
Last active June 13, 2021 17:45
use knitr (knit2pdf) to generate a PDF report in a Shiny app
\documentclass{article}
\begin{document}
<<names>>=
input$firstname
input$lastname
@
\end{document}