Skip to content

Commit

Permalink
"Repeated measures" pattern is covered now
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed May 14, 2018
1 parent 5901283 commit 8f66ff1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ Big thanks to everyone who weighed in on the related [twitter thread](https://tw

`imap()` handy for iterating over something and its names or integer indices at the same time.

When you have multiple values for a single unit in one row (e.g. repeated measures), consider reshaping for easier computation. That turns a row-oriented problem into `group_by()` + `summarise()`, which is usually easier.

`dplyr::case_when()` helps you get rid of hairy, nested `if () {...} else {...}` statements.

Great resource on the "why?" of functional programming approaches (such as `map()`): <https://github.com/getify/Functional-Light-JS/blob/master/manuscript/ch1.md/>

0 comments on commit 8f66ff1

Please sign in to comment.