Skip to content

Commit fc8a6cb

Browse files
committed
making 3.6 fig smaller and centering
1 parent 2363658 commit fc8a6cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wrangling.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ these are the values that the three variables take for the first entity in the
8181
data set. There are 13 entities in the data set in total, corresponding to the
8282
13 rows in Figure \@ref(fig:02-obs).
8383

84-
``` {r 02-obs, echo = FALSE, message = FALSE, warning = FALSE, fig.cap = "A data frame storing data regarding the population of various regions in Canada. In this example data frame, the row that corresponds to the observation for the city of Vancouver is colored yellow, and the column that corresponds to the population variable is colored blue.", fig.retina = 2, out.width = "100%"}
84+
``` {r 02-obs, echo = FALSE, message = FALSE, warning = FALSE, fig.align = "center", fig.cap = "A data frame storing data regarding the population of various regions in Canada. In this example data frame, the row that corresponds to the observation for the city of Vancouver is colored yellow, and the column that corresponds to the population variable is colored blue.", fig.retina = 2, out.width = "100%"}
8585
image_read("img/data_frame_slides_cdn/data_frame_slides_cdn.004.jpeg") %>%
8686
image_crop("3632x700")
8787
```
@@ -92,7 +92,7 @@ Internally, R stores the columns of a data frame as either
9292
`population`. We will explain what lists and vectors are in the next two
9393
sections.
9494

95-
``` {r 02-vectors, echo = FALSE, message = FALSE, warning = FALSE, fig.cap = "Data frame with three vectors.", fig.retina = 2, out.width = "100%"}
95+
``` {r 02-vectors, echo = FALSE, message = FALSE, warning = FALSE, fig.align = "center", fig.cap = "Data frame with three vectors.", fig.retina = 2, out.width = "100%"}
9696
image_read("img/data_frame_slides_cdn/data_frame_slides_cdn.005.jpeg") %>%
9797
image_crop("3632x700")
9898
```
@@ -243,7 +243,7 @@ the following three criteria [@wickham2014tidy]:
243243
Figure \@ref(fig:02-tidy-image) demonstrates a tidy data set that satisfies these
244244
three criteria.
245245

246-
``` {r 02-tidy-image, echo = FALSE, message = FALSE, warning = FALSE, fig.cap = "Tidy data satisfies three criteria.", fig.retina = 2, out.width = "100%"}
246+
``` {r 02-tidy-image, echo = FALSE, message = FALSE, warning = FALSE, fig.align = "center", fig.cap = "Tidy data satisfies three criteria.", fig.retina = 2, out.width = "80%"}
247247
image_read("img/tidy_data/tidy_data.001.jpeg") |>
248248
image_crop("3632x1400")
249249
```

0 commit comments

Comments
 (0)