Readable code with base R (part 2)
Combine startsWith and endsWith with R’s pipe
In my first post, startsWith and endsWith were presented. In combination with R’s pipe operator, we can improve the readability even further.
w startsWith("H...
![](https://rpahl.github.io/r-some-blog//posts/readable-code-part2easy-read.png)
x = 1and define another chunk, where you simply add one up
```{r addOne} sum = x + 1 sum ```resulting in
[1] 2...
Copyright © 2022 | MH Corporate basic by MH Themes