About This Site
This site is a brief introduction to techniques for data organisation, graphics, and analyses, including:
- how to organise your data during data entry
- how to manipulate and manage your data so there is transparency and version control
- instructions for running statistical analyses with sample code in R or other relevant software (first see Getting started with R)
- the rationale for the technique in plain language (why is it used)
- how to interpret the results and assumptions that you need to check
- visualisation of your results and ways to effectively communicate the results in scientific reports or publications
- where to go for further help
This site integrates different techniques used by researchers and postgraduates at the University of New South Wales, Australia, who have provided their knowledge and skills to assist others develop skills for rigorous environmental science.
Resources were developed initially to assist with teaching quantitative skills to undergraduate and postgraduate students in the School of Biological, Earth and Environmental Sciences at the University of New South Wales, supported by a Learning and Teaching Innovation Grant to Alistair Poore, Will Cornwell, Iain Suthers and Richard Kingsford. Development of the second generation of this site saw migration to GitHub and Hugo, led by Dr Fonti Kar and A/Prof Daniel Falster and with the support of the Evolution and Ecology Research Centre. In 2026 we undertook a major upgrade to Quarto and a new structure, led by A/Prof Daniel Falster, Prof Will Cornwell and Prof Alistair Poore.
Acknowledgments
Thanks to everyone who has contributed new content and fixes on GitHub:
- Brendan Schuetze (@Brendan-Schuetze)
- John Wilshire (@johnWilshire)
- Mitchell Lyons (@mitchest)
Colophon
The book is powered by Quarto, which makes it easy to write books that combine text and executable code.
Site migration history
2026 migration from Hugo to Quarto
In 2026 we migrated the site from Hugo to Quarto and substantially updated the website structure.
The old site had one page per topic. In the book, related pages are combined into chapters (for example, the three mixed-model pages are now one chapter with three sections), grouped into parts. Every old address redirects to its new chapter and section.
Page migration table:
| Old page | Now in |
|---|---|
/about-this-site/ |
preface |
/getting-started-with-r/ |
basics/basics |
/getting-started-with-r/installing-r-rstudio/ |
basics/r |
/getting-started-with-r/project-management/ |
basics/projects |
/data-manipulation/ |
data-literacy/making-analysis-ready-data |
/getting-started-with-r/importing-data/ |
data-literacy/reading |
/data-manipulation/subsetting-data/ |
data-literacy/filter-rows |
/data-manipulation/making-new-variables/ |
data-literacy/mutate |
/data-manipulation/combining-datasets/ |
data-literacy/joining-tables |
/data-manipulation/summarising-data/ |
data-literacy/summarising-tables |
/data-manipulation/reshaping-data/ |
data-literacy/pivotting |
/graphics/ |
data-visualisation/data-visualisation |
/graphics/multivariate-vis/ |
data-visualisation/data-visualisation, section Visualising multivariate data |
/graphics/spatial-vis/ |
data-visualisation/data-visualisation, section Visualising spatial data |
/graphics/basic-plotting/ |
data-visualisation/ggplot |
/graphics/basic-plotting/one-continuous/ |
data-visualisation/ggplot, section One continuous variable |
/graphics/basic-plotting/two-continuous/ |
data-visualisation/ggplot, section Two continuous variables |
/graphics/basic-plotting/one-continuous-one-factor/ |
data-visualisation/ggplot, section One continuous and one categorical variable |
/graphics/ggplot/ |
data-visualisation/ggplot, section Introduction to ggplot2 |
/graphics/ggplot/ggplot-basics/ |
data-visualisation/ggplot, section Introduction to ggplot2 |
/graphics/ggplot/ggplot-labels/ |
data-visualisation/ggplot, section Titles and axis labels |
/graphics/ggplot/ggplot-colour-shapes/ |
data-visualisation/ggplot, section Colours and shapes |
/graphics/ggplot/ggplot-barplot/ |
data-visualisation/ggplot, section Bar plots with error bars |
/graphics/ggplot/ggplot-appearance/ |
data-visualisation/ggplot, section Customising your ggplot |
/graphics/ggplot/ggplot-multipanel/ |
data-visualisation/multi-panel-figures |
/graphics/spatial-vis/basic-raster/ |
data-visualisation/rasters |
/graphics/spatial-vis/simple-maps/ |
data-visualisation/simple-maps |
/graphics/multivariate-vis/pca/ |
data-visualisation/pca |
/graphics/multivariate-vis/heatmaps/ |
data-visualisation/heatmaps |
/statistics/ |
statistical-methods/statistical-methods |
/statistics/linear-models/ |
statistical-methods/linear-models |
/statistics/linear-models/linear-regression/ |
statistical-methods/linear-regression |
/statistics/linear-models/linear-regression/interpret-lm-coeffs/ |
statistical-methods/interpret-lm-coeffs |
/statistics/t-tests/ |
statistical-methods/t-tests |
/statistics/t-tests/one-sample-t-test/ |
statistical-methods/t-tests, section One Sample T-test |
/statistics/t-tests/two-sample-t-test/ |
statistical-methods/t-tests, section Two Sample T-test |
/statistics/t-tests/paired-t-test/ |
statistical-methods/t-tests, section Paired T-test |
/statistics/linear-models/anova/ |
statistical-methods/anova |
/statistics/linear-models/anova/anova-single/ |
statistical-methods/anova, section Single Factor ANOVA |
/statistics/linear-models/anova/anova-factorial/ |
statistical-methods/anova, section Factorial ANOVA |
/statistics/linear-models/anova/anova-nested/ |
statistical-methods/anova, section Nested ANOVA |
/statistics/linear-models/interactions/ |
statistical-methods/understanding-interactions |
/statistics/glms/ |
statistical-methods/generalised-linear-models |
/statistics/glms/glm-1/ |
statistical-methods/generalised-linear-models, section Introduction and Binary Data |
/statistics/glms/glm-2/ |
statistical-methods/generalised-linear-models, section Count Data |
/statistics/glms/interpret-glm-coeffs/ |
statistical-methods/interpret-glm-coeffs |
/statistics/mixed-models/ |
statistical-methods/mixed-effects-models |
/statistics/mixed-models/mixed-model-1/ |
statistical-methods/mixed-effects-models, section Linear mixed models with one random effect |
/statistics/mixed-models/mixed-model-2/ |
statistical-methods/mixed-effects-models, section Crossed and Nested Factors |
/statistics/mixed-models/mixed-model-3/ |
statistical-methods/mixed-effects-models, section Generalised Mixed Models |
/statistics/gams/ |
statistical-methods/generalised-additive-models |
/statistics/time-series/ |
statistical-methods/time-series-analysis |
/statistics/mvabund/ |
statistical-methods/MVabund |
/graphics/multivariate-vis/cluster-analysis/ |
statistical-methods/cluster-analysis |
/graphics/multivariate-vis/mds/ |
statistical-methods/mds |
/statistics/meta-analysis/ |
statistical-methods/meta-analysis |
/statistics/meta-analysis/meta-analysis-1/ |
statistical-methods/meta-analysis, section Introduction |
/statistics/meta-analysis/meta-analysis-2/ |
statistical-methods/meta-analysis, section Fixed-effect and Random-effect Models |
/statistics/meta-analysis/meta-analysis-3/ |
statistical-methods/meta-analysis, section Multilevel Models |
/coding-skills/ |
coding-skills/coding-skills |
/coding-skills/good-practice/ |
coding-skills/good-practice |
/coding-skills/writing-functions/ |
coding-skills/functions |
/coding-skills/loops/ |
coding-skills/loops |
/coding-skills/version-control/ |
coding-skills/version-control |
/coding-skills/asking-code-questions/ |
coding-skills/asking-code-questions |
/statistics/categorical/ |
misc/misc |
/getting-started-with-r/data-entry/ |
misc/data-entry |
/getting-started-with-r/data-types-structure/ |
misc/data-types-structure |
/getting-started-with-r/rstudio-notebooks/ |
misc/rstudio-notebooks |
/graphics/spatial-vis/interactive/ |
misc/interactive-maps |
/statistics/categorical/contingency-tables/ |
misc/contingency-tables |
/statistics/categorical/fishers-exact/ |
misc/fishers-exact |
/statistics/categorical/goodness-of-fit/ |
misc/goodness-of-fit |
/statistics/power-analysis/ |
misc/power-analysis |
/datasets/ |
datasets |
2022 migration from Wordpress to Hugo
In Feb 2022, the site was migrated from Wordpress to Hugo. These old Wordpress URLs should be redirected to their current pages using aliases, as they have been embedded in various course materials and distributed over the web.
- /analysis-variance-factorial/
- /analysis-variance-single-factor/
- /asking-code-questions/
- /basic-plotting-in-r/
- /basic-project-management/
- /categorical-data-analyses/
- /cluster-analysis/
- /coding-skills/
- /combining-data-sets/
- /contingency-tables/
- /data-entry/
- /data-manipulation/
- /data-types-and-structure/
- /forecasting-time-series/
- /generalised-linear-models-1/
- /generalised-linear-models-2/
- /generalised-linear-models/
- /getting-started-with-r/
- /good-practice-for-writing-scripts/
- /goodness-of-fit-tests/
- /graphics/
- /heat-maps/
- /how-to-interpret-linear-models/
- /importing-data/
- /independent-samples-t-test/
- /installing-r-r-studio/
- /interpreting-coefficients-in-glms/
- /intro-to-gams/
- /introduction-to-mvabund/
- /linear-models/
- /linear-regression/
- /making-new-variables/
- /making-simple-maps/
- /meta-analysis-1/
- /meta-analysis-2/
- /meta-analysis-3/
- /meta-analysis/
- /mixed-models-1/
- /mixed-models-2/
- /mixed-models-3/
- /mixed-models/
- /multidimensional-scaling/
- /one-continuous-variable/
- /one-sample-t-test/
- /paired-t-tests/
- /plotting-with-ggplot-adding-titles-and-axis-names/
- /plotting-with-ggplot-altering-the-overall-appearance/
- /plotting-with-ggplot-bar-plots-with-error-bars/
- /plotting-with-ggplot-colours-and-symbols/
- /plotting-with-ggplot-the-basics/
- /plotting-with-ggplot/
- /power-analysis/
- /principal-components-analysis/
- /reshaping-data/
- /single-continuous-vs-categorical-variables/
- /statistics/
- /subsetting-data/
- /summarising-data/
- /t-tests/
- /two-continuous-variables/
- /understanding-interactions/
- /using-loops/
- /using-rstudio-notebooks/
- /version-control/
- /visualising-multivariate-data/
- /visualising-spatial-data/
- /visualising-spatial-data/making-interactive-maps-in-r-with-leaflet/
- /writing-simple-functions/