OCCUVISTA
Home›Tools›R

R

Performing statistical analysis, visualisation, and reproducible research in code

What is R?

R is an open-source programming language and environment for statistical computing, data analysis, and graphical visualisation. Developed by statisticians at the University of Auckland, it provides built-in statistical functions alongside a package ecosystem on CRAN covering machine learning, bioinformatics, econometrics, and spatial analysis. The tidyverse collection — including dplyr for data manipulation, ggplot2 for graphics, and tidyr for reshaping — has become the standard approach for analysis in R. It is used in academic research, clinical trials, bioinformatics, and quantitative social science where statistical rigour and reproducibility are primary requirements. R runs interactively through RStudio and supports R Markdown for reproducible reports combining code, output, and narrative.

R Use Cases

  • Loading, cleaning, and transforming datasets using dplyr and tidyr functions to prepare data for analysis and statistical modelling
  • Building statistical models including linear regression, logistic regression, mixed effects models, and survival analysis using R's built-in and CRAN package functions
  • Creating publication-quality visualisations including scatter plots, distributions, faceted charts, and spatial maps using ggplot2's layered grammar of graphics
  • Producing reproducible analysis reports that combine R code, statistical output, and narrative explanation in a single R Markdown or Quarto document
  • Performing bioinformatics analysis including sequence alignment, differential expression, and pathway enrichment using Bioconductor packages on genomic datasets

Roles That Use R

Categories That Use R