A field guide to thinking in R

Stop memorising syntax.
Build the model.

Ten compact modules for scientists who want to understand how R behaves, choose sound analyses, and know what to check when results do not make sense.

Start with module 01

YOUR LEARNING PATH

10 ideas, in a deliberate order.

0/10 complete
010%

How R stores the values you analyse

See how vectors, types, coercion, and missing values shape results

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
020%

Keep related results without losing their types

Use lists, data frames, and extraction operators deliberately

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
030%

Make analysis steps explicit with functions

Follow arguments, return values, and scope through a function call

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
040%

Match the code to the shape of the calculation

Use vector operations for independent values and loops for dependent steps

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
050%

Shape tables around observations and variables

See how tidy structure changes grouping, plotting, and maintenance

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
060%

Build plots from data, mappings, and layers

Separate what variables control from what you set directly

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
070%

Choose the figure before the library

Match the biological question and data shape to a visual comparison

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
080%

Write documentation that compounds

Record provenance, commands, environments, and decisions while they are knowable

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
090%

Use biology as a validation layer

Trace contradictions across identifiers, transformations, clusters, and assays

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code
100%

See tests as models, then check confounding

Connect familiar tests to linear models and isolate conditional relationships carefully

  • Read
  • Cards
  • Quiz
  • Scenario
  • Code