Visualize part review edits (#1348)
* EDA review edits * Import review edits (move text up) * Visualize review edits (move text up) * Layers review edits * Visualize review edits * (Partial) communication review edits -- more to come * Add note on ordered + remove unclear ex * Reduce annotation plots + review edits * Update EDA.qmd Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Update EDA.qmd Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Update communication.qmd Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Update communication.qmd Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Update layers.qmd Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Update data-import.qmd Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Update data-import.qmd Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Update layers.qmd Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Clarify what's hard to see * Fix typo * Add ggforce::geom_mark_hull * Take legend back * Clarify inherit * Take back reordering --------- Co-authored-by: Hadley Wickham <h.wickham@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a793af0aac
commit
64841ccd3e
@@ -151,6 +151,12 @@ students <- students |>
|
||||
students
|
||||
```
|
||||
|
||||
A new function here is `if_else()`, which has three arguments.
|
||||
The first argument `test` should be a logical vector.
|
||||
The result will contain the value of the second argument, `yes`, when `test` is `TRUE`, and the value of the third argument, `no`, when it is `FALSE`.
|
||||
Here we're saying if `age` is the character string `"five"`, make it `"5"`, and if not leave it as `age`.
|
||||
You will learn more about `if_else()` and logical vectors in @sec-logicals.
|
||||
|
||||
### Other arguments
|
||||
|
||||
There are a couple of other important arguments that we need to mention, and they'll be easier to demonstrate if we first show you a handy trick: `read_csv()` can read text strings that you've created and formatted like a CSV file:
|
||||
|
||||
Reference in New Issue
Block a user