2022-05-14 04:46:49 +08:00
|
|
|
# Column-wise operations {#sec-column-wise}
|
2021-02-22 08:22:15 +08:00
|
|
|
|
2022-05-14 04:46:49 +08:00
|
|
|
```{r}
|
|
|
|
#| results: "asis"
|
|
|
|
#| echo: false
|
|
|
|
source("_common.R")
|
2021-05-04 21:10:39 +08:00
|
|
|
status("drafting")
|
|
|
|
```
|
|
|
|
|
2021-02-22 08:22:15 +08:00
|
|
|
## Introduction
|
|
|
|
|
|
|
|
<!--# TO DO: Write introduction. -->
|
|
|
|
|
|
|
|
### Prerequisites
|
|
|
|
|
|
|
|
In this chapter we'll continue using dplyr.
|
|
|
|
dplyr is a member of the core tidyverse.
|
|
|
|
|
2022-05-14 04:46:49 +08:00
|
|
|
```{r}
|
|
|
|
#| label: setup
|
|
|
|
#| message: false
|
|
|
|
|
2021-02-22 08:22:15 +08:00
|
|
|
library(tidyverse)
|
|
|
|
```
|
|
|
|
|
|
|
|
<!--# TO DO: Write chapter around across, etc. -->
|