【发布时间】:2012-12-11 04:00:11
【问题描述】:
这是我有问题的幻灯片:
这张幻灯片的纯文本是
# Title
```{r plot, echo=FALSE}
library("ggplot2")
x <- seq(-1,1,0.05)
y <- x^3/3-x^2 + rnorm(41,sd=0.1)
qplot(x,y)+geom_smooth()
```
- item 1
- item 2
我想:
- 隐藏评论文本 (## blahblah)
- 隐藏文本“区块图”
- 将绘图缩小,以便显示项目
你能给我一些提示吗?谢谢。
【问题讨论】:
-
阅读the wonderful documentation for knitr。您需要查看
fig.cap、warning和fig.height和`fig.width