4 Workflow: code style

“Good coding style is like correct punctuation: you can    manage without it, butitsuremakesthingseasiertoread.” — Tidyverse Style Guide

Learning objectives:

  • Use the styler package to apply style rules.
  • Select good variable names.
  • Appropriately utilize spaces between mathematical operators.
  • Apply the |> operator to make our code more readable.