Skip to main content

Data and code

Find the datasets, saved results, and scripts used in the lessons here. For the commands to prepare data, fit models, and reproduce results, see Report and reproduce.

What the companion provides

The main examples use Arctic charr and ten-score dogs. Use the bundled inputs to start from the data, the Figure Gallery to redraw the manuscript figures, or the draw guide to recalculate the archived intervals.

Data availability and authorised inputs

All three example datasets are bundled with the repository. Read the data notes and data-use and acknowledgment information before reusing the dog data or redistributing tutorial materials.

Run the two main examples

Download the reproduction ZIP, then follow the commands to prepare the data, recalculate intervals or fit the models.

Six-trait red-knot extension

Simulated random slopes

See the temperature lesson and its reproduction instructions or download the complete R script.