私はMarkdownで小さな運動帳を書いています。私は列のプロットともう片方の文書テキストを使って最終的な出力を得たいと思います。同様の問題はhereとhereとなります。残念なことに、彼らは主に列ごとに1つの出力を望んでいます。私は列に出力し、もう片方にテキストを出力したいと思います。本当に興味深いのはDoccoですが、それはテキストでコード出力を見せてくれるものです。Markdownでテキストとコード/出力の列を分ける
可能な解決策はRPresマークダウン水平ルールです:***
を使用すると、使いやすい2つの列が作成されます。しかし、私はMarkdownのドキュメントでその実装に関する文書を見つける。ここで
は、これまでの私の結果を示す画像と私のコードの例:
```{r setoption, cache=TRUE, warning=FALSE, message=FALSE, fig.width=12}
knitr::opts_chunk$set(cache=TRUE, warning=FALSE, message=FALSE, fig.width=4, echo = FALSE)
```
```{r, loadlibraries}
library(knitr)
library(lattice)
```
### Exercise 1 - 22/4/'16
Is the data set shown in the following figure symmetric or skewed? How many modes does this data set have?
```{r 1.1}
e1 <- rep(seq(1, 6, 1), c(6, 4, 2, 2, 4, 6))
barchart(table(e1), horizontal = FALSE, xlab = "", ylab = "Frequency")
```
**Solution:**
The data set is symmetric. Furthermore, it has two modes.
### Exercise 2 - 22/4/'16
Describe the shape of the dataset shown in the following figure.
```{r 2.1}
e2 <- rep(seq(1, 9, 1), c(6, 5, 4, 3, 2, 1, 1, 1, 1))
barchart(table(e2), ylab = "Frequency", horizontal = FALSE)
```
**Solution:**
The dataset is right skewed, also said right skewed, with one mode.
あなたはおそらく[これの逆の](http://yihui.name/knitr/demo/graphics/)が必要ですか? –
はい、そのようなものです。 – Worice