Skip to content
Brad Cannell edited this page Dec 23, 2022 · 1 revision

Welcome to the intro.r.public wiki!

This is the public repository for Brad Cannell’s Introduction to R Programming and Data Management course at UTHealth. It is still under development. Currently, this repository is for:

  1. R code for lab warm-ups.
  2. R code for labs.
  3. Other files intended to be shared with students and/or the public.
  4. Loading practice data sets.

This is currently set up as a package (as opposed to just a project) because we may eventually want to use it to share R code (including functions) and example data sets.

There is also an Introduction to R Programming and Data Management Private Repository (https://github.com/brad-cannell/intro.r.private). That repository is currently being used for:

  1. R code for module quizzes.

R for Epidemiology textbook

The R for Epidemiology (R4Epi) textbook is also closely related to this repository. We expect that some of the material from this repository will (eventually) make its way into R4Epi and vice versa.

R Packages

We have also created several R packages that are closely related to the content in this repository. We expect that some of the material from this repository will (eventually) make its way into those packages and vice versa.

freqtables

The goal of freqtables is to quickly make tables of descriptive statistics for categorical variables (i.e., counts, percentages, confidence intervals). This package is designed to work in a tidyverse pipeline, and consideration has been given to get results from R to Microsoft Word ® with minimal pain.

meantables

The goal of meantables is to quickly make tables of descriptive statistics (i.e., counts, means, confidence intervals) for continuous variables. This package is designed to work in a Tidyverse pipeline, and consideration has been given to get results from R to ‘Microsoft Word’ ® with minimal pain.

codebookr

The codebookr package is intended to make it easy for users to create codebooks (also called data dictionaries) directly from an R data frame.