/Repeated_Measurements

Shiny App for Repeated Measurements Course

Primary LanguageHTML

shiny app for Repeated Measurements Course

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:

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)