Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit30c8e6b

Browse files
committed
small edit
1 parentaec8820 commit30c8e6b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎content/post/2019-08-28-you-can-replicate-almost-any-plot-with-ggplot2.Rmd‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The first example is from [this](https://abcnews.go.com/blogs/headlines/2012/12/
1717

1818
![](http://abcnews.go.com/images/International/homocides_g8_countries_640x360_wmain.jpg)
1919

20-
Here is the R code for my version. Note that I copied the values by hand as the original does not seem to follow a standard palette.
20+
Here is the R code for my version. Note that I copied the values by hand.
2121

2222
```{r murder-rate-example-1, warning=FALSE, message=FALSE}
2323
library(tidyverse)
@@ -83,7 +83,7 @@ The next example is from the [Wall Street Journal](http://graphics.wsj.com/infec
8383
![](https://rafalab.github.io/dsbook/dataviz/img/wsj-vaccines.png)
8484

8585

86-
Here is the R code for my version. Note I matched the colors by hand!
86+
Here is the R code for my version. Note I matched the colors by hand as the original does not seem to follow a standard palette.
8787

8888
```{r wsj-vaccines-example, out.width="100%", fig.height=5}
8989
library(dslabs)

‎content/post/2019-08-28-you-can-replicate-almost-any-plot-with-ggplot2.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h2>Example 1</h2>
1717
<imgsrc="http://abcnews.go.com/images/International/homocides_g8_countries_640x360_wmain.jpg"/>
1818

1919
</div>
20-
<p>Here is the R code for my version. Note that I copied the values by hand as the original does not seem to follow a standard palette.</p>
20+
<p>Here is the R code for my version. Note that I copied the values by hand.</p>
2121
<preclass="r"><code>library(tidyverse)
2222
library(ggplot2)
2323
library(ggflags)
@@ -78,7 +78,7 @@ <h2>Example 3</h2>
7878
<imgsrc="https://rafalab.github.io/dsbook/dataviz/img/wsj-vaccines.png"/>
7979

8080
</div>
81-
<p>Here is the R code for my version. Note I matched the colors by hand!</p>
81+
<p>Here is the R code for my version. Note I matched the colors by hand as the original does not seem to follow a standard palette.</p>
8282
<preclass="r"><code>library(dslabs)
8383
data(us_contagious_diseases)
8484
the_disease &lt;- &quot;Measles&quot;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp