Created
November 21, 2017 01:56
-
-
Save sahirbhatnagar/a97c63d85dc3223657202321242ef831 to your computer and use it in GitHub Desktop.
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
--- | |
title: "Central Limit Theorem In Action" | |
author: "by Sahir Bhatnagar" | |
date: "`r Sys.Date()`" | |
output: | |
html_document: | |
toc: true | |
toc_float: true | |
number_sections: true | |
toc_depth: 4 | |
keep_md: true | |
editor_options: | |
chunk_output_type: console | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE, fig.fullwidth = TRUE, fig.width = 12, fig.height = 9) | |
``` | |
```{r clt-source, tidy.opts=list(width.cutoff=55)} | |
# apply knit_expand to each value of n | |
src <- mapply(knitr::knit_expand, file = "clt-template.Rmd", i = seq(10,2010, by=100)) | |
``` | |
# CLT in Action | |
`r knitr::knit(text = unlist(src))` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment