bookclub-advr

DSLC Advanced R Book Club
git clone https://git.eamoncaddigan.net/bookclub-advr.git
Log | Files | Refs | README | LICENSE

07.qmd (1042B)


      1 ---
      2 title: Cohort 7
      3 ---
      4 {{< video https://www.youtube.com/embed/W9CoQ15NlOc >}}
      5 <details>
      6 <summary>Meeting chat log</summary>
      7 ```
      8 00:40:18	Ryan Honomichl:	What type of vector does each of the following calls to ifelse() return?
      9 * "ifelse returns a value with the same shape as test which is filled with elements selected from either yes or no depending on whether the element of test is TRUE or FALSE."
     10 00:42:11	Ryan Honomichl:	"I recommend assigning the results of an if statement only when the entire expression fits on one line; otherwise it tends to be hard to read"
     11 00:42:46	Ryan Honomichl:	* When you use the single argument form without an `else` statement, `if` invisibly returns NULL if the condition is FALSE. 
     12 -   Since functions like c() and paste() drop NULL inputs, this allows for a compact expression of certain idioms
     13 00:54:15	collinberke:	https://docs.google.com/spreadsheets/d/1ScrbEw_-vB9DruaJhjtVY8HLQmuNPqyWeOOjmG6OY1M/edit?usp=sharing
     14 00:58:46	collinberke:	https://www.youtube.com/@safe4democracy/videos
     15 ```
     16 </details>