This repository contains a shiny application that replicates all analyses presented in the course Statistical Analysis of Repeated Measurements Data, including also some additional illustrations. The app requires R (version >= 4.3.2) and the following packages:
- nlme (version >= 3.1-164)
- lme4 (version >= 1.1-35)
- geepack (version >= 1.3-9)
- GLMMadaptive (version >= 0.9-1)
- MASS (version >= 7.3-60.0.1)
- shiny (version >= 1.8.0)
- lattice (version >= 0.22-5)
- splines (available within base R)
- corrplot (version >= 0.92)
These packages can be installed using the following function call:
install.packages(c("shiny", "nlme", "lattice", "lme4", "GLMMadaptive", "MASS",
"geepack", "corrplot"), dependencies = TRUE)
and then the app can be directly invoked using the command:
shiny::runGitHub("Repeated_Measurements", "drizopoulos")
The app will automatically load these packages and also load the data sets used in the course. If you would like to interactively run the code in your own R session, then you will need first to load the packages using the commands:
library("shiny")
library("lattice")
library("nlme")
library("lme4")
library("geepack")
library("GLMMadaptive")
library("MASS")
library("splines")
library("corrplot")
and also load the data sets from GitHub using the commands:
con <- url("https://raw.github.com/drizopoulos/Repeated_Measurements/master/Data.RData")
load(con)
close(con)