# install `remotes` package if you don't have it already
# install.packages("remotes")
remotes::install_github("biostats-r/biostats.tutorials")Enough R to write a thesis
From raw data to finished thesis
The biostats books, apps, and tutorials are written to give you enough skills to write a thesis.
The books emphasis reproducible research.
Biostats books
How to use these books
Google translate does a reasonably job at translating these books into your preferred language.
Dark-mode can be activated by clicking the icon.
If you want to see how we did something, you can see the source code on GitHub by clicking on the button or the button at the top of the page.
You can make a copy of the books by downloading them from GitHub (or clone them after reading the Git and GitHub book). Some of the functionality (live R in the book) will not work if you do this.
There are inevitably various typos, broken links, outdated functions and other errors in these books. They won’t fix themselves. If you find one, please report it by email or through a GitHub issue.
Working in R
Learn how to import, manipulate and visualise data with our working in R book. After an introduction to R, this book has a tidyverse flavour, showing how to manipulate data with dplyr and make publishable plots with ggplot2. It includes lots of exercises to hone your skills.
The data life-cycle
Your data are precious. Learn how to take care of them with our data life-cycle book.
Statistics in R

Coming soon!
Reproducible documents with R
Git and GitHub
Learn how to use version control with our step-by-step guide to setting up and using git and GitHub in RStudio.
Enough targets to Write a Thesis
Learn how to run data analysis pipeline for reproducible and scalable workflows. Our guide to using the targets package will show you how.
Writing an R package
Want to make your code into an R package? Our guide to writing an R package will show you how.
Biostats apps and tutorials
We have developed interactive learnr tutorials for
- naming objects
- dates and times
- string manipulation
and shiny apps to explore some statistical concepts.
These can be installed from biostats apps and learnr tutorials with
Packages
The checker package checks that students have the correct version of R, R packages, RStudio and other dependencies installed, and that the recommended RStudio configuration has been applied. It uses yaml to record the settings.
Courses
Quarto thesis template
Try our thesis template for your MSc thesis to make a fully reproducible thesis.
The Biostats team
These books are a collaboration between the Department of Biological Sciences, University of Bergen and the Department of Mathematical Sciences, University of Trondheim.
This is BioCeed product.






