Wikipaulia

Home

❯

Notes

❯

Code

❯

R

Folder: Notes/Code/R

22 items under this folder.

  • 20 Feb 2025

    Extracting postcodes from text

    • R
    • Snippet
  • 20 Feb 2025

    Function to aggregate counts by ISO week from dates, without gaps

    • R
    • Snippet
  • 20 Feb 2025

    Function to find date of end of ISO week for a date

    • R
    • Snippet
  • 20 Feb 2025

    Function to look for filenames of form yyyymmddpattern and select one with latest date

    • R
    • Snippet
  • 30 Dec 2024

    Advent of Code 2024: days 6-9

    • 13 Dec 2024

      Advent of Code 2024: days 1-5

      • R
    • 11 Dec 2023

      Generating a random outbreak data set for testing and teaching

      • R
      • Snippet
    • 27 Nov 2023

      Simple frequency table with data.table

      • R
      • Snippet
    • 21 Mar 2023

      Function for labelling e.g. age groups

      • R
      • Snippet
    • 15 Nov 2022

      Calculating directly standardised rates with data for only some age groups

      • R
      • snippet
    • 11 Nov 2022

      Create a GitLab project (from R)

      • R
      • Snippet
    • 10 Nov 2022

      Combine two dichotomous variables into a single variable with four levels

      • R
      • Snippet
    • 08 Nov 2022

      Aggregate data on time

      • R
      • Snippet
      • data.table
    • 08 Nov 2022

      Filtering on data.table list columns

      • R
      • Snippet
      • data.table
    • 08 Nov 2022

      Quick summary of a variable

      • R
      • Snippet
    • 03 Nov 2022

      Plotly stacked bar chart that works better for hiding categories

      • R
      • Snippet
      • Plotly
    • 28 Oct 2022

      Melting questionnaire data with data.table

      • R
      • data.table
      • Snippet
    • 28 Oct 2022

      Plotting Likert-style questionnaire responses

      • R
      • ggplot2
      • Snippet
    • 26 Oct 2022

      Adding multicolumn function output to a data.table

      • R
      • data.table
      • Snippet
    • 26 Oct 2022

      Create .gitignore file from R

      • R
      • Snippet
      • Git
    • 26 Oct 2022

      Read Stata labels in R

      • R
      • Snippet
    • 26 Oct 2022

      Rounding like you expect it

      • R
      • Snippet

    Created with Quartz v4.5.2 © 2026

    • GitHub
    • Discord Community