Dr. Hain's various/sundry has helpful information about things
that Dr. Hain has discovered by trial and error.
R is an immensely popular and powerful programming language, that seems to be a viable alternative to Matlab for many data analysis tasks. Dr. Hain decided to learn R to produce graphics from his large collection of clinical data stored in a mysql database.
Some general observations.
- R is open source. The beauty of R is that it is open source. The problem of R is that it is open source. To expand on this, R is IMMENSE, there are a gigantic number of contributed packages.
- There are MANY ways to do almost ANYTHING in R. For example, R has 4 different graphics systems (we will just consider the "base" graphics and ggplot2).
- R is lightly documented -- the way you do things in R is to google them up.
- R is complicated -- it operates on vectors (or matrices), and these sorts of programs are tricky.
- R is a "Matlab" competitor. Matlab is a similar language, also largely based at MIT, that also operates on vectors (or matrices). Matlab is not "Open source". It is pretty much locked down. You pay lots of money to keep it running. Even if you bought the program, the licencing manager stops you from using it on two different computers (i.e. your work computer and home computer).
Examples of R code to process clinical data (all either hearing or dizziness related).
September 20, 2020
, Timothy C. Hain, M.D.
All rights reserved.