Skip to content

Instantly share code, notes, and snippets.

@indraniel
Created August 3, 2016 22:44
Show Gist options
  • Save indraniel/9d2e845927fd7c169891f0155a9d90c8 to your computer and use it in GitHub Desktop.
Save indraniel/9d2e845927fd7c169891f0155a9d90c8 to your computer and use it in GitHub Desktop.
knitr kable example
```{r kable}
n <- 100
x <- rnorm(n)
y <- 2*x + rnorm(n)
out <- lm(y ~ x)
library(knitr)
kable(summary(out)$coef, digits=2)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment