Skip to content

Commit 4c8eade

Browse files
fixed figure units in wrangling
1 parent fe13389 commit 4c8eade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrangling.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ that speak each language most at work for each region.
515515
Figure \@ref(fig:img-separate)
516516
outlines what we need to specify to use `separate`.
517517

518-
``` {r img-separate, echo = FALSE, message = FALSE, warning = FALSE, fig.cap = "Syntax for the separate function", out.width="1100", fig.retina = 2}
518+
``` {r img-separate, echo = FALSE, message = FALSE, warning = FALSE, fig.cap = "Syntax for the separate function", out.width="1100pt", fig.retina = 2}
519519
knitr::include_graphics("img/separate_function.jpeg")
520520
```
521521

@@ -949,7 +949,7 @@ cleaned already, in a few short lines of code, we can use `ggplot` to create a
949949
data visualization to answer this question! Here we create a bar chart to represent the proportions for
950950
each region and color the proportions by language.
951951

952-
```{r 02-plot, fig.width = 7, fig.height = 2.5}
952+
```{r 02-plot, out.width = "70%"}
953953
ggplot(
954954
english_langs,
955955
aes(

0 commit comments

Comments
 (0)