☰
Debian Codegraph
@
1.51+dfsg-2
/
/
inst
/
doc
/
knitr-intro.R
☽
☼
inst/doc/knitr-intro.R
code
plain
raw
GPL-3+
2009-2015 Yihui Xie <
[email protected]
>
debian/copyright
1
options(digits = 4)
2
rnorm(20)
3
fit = lm(dist ~ speed, data = cars)
4
b = coef(fit)
5
6
summary(fit)$coefficients
7
8
par(mar=c(4, 4, 1, .1))
9
plot(cars, pch = 20)
10
abline(fit, col = 'red')
11
12
print(citation('knitr'), style = 'html')
13