José Pereira
23/10/2015
Pharmacokinetics of Theophylline is a Shiny application based on the Theoph dataset from R Datasets.
It was developed for the following reasons:
A way of simplyfing this interesting R dataset and making it more accessible to people who do not know their way around R;
A way to explain pharmacokinetic principles such as absorption time, plasmatic concentration, area under the Curve and the such using simple and beautiful plots without the hassle of having to write code;
require(ggplot2)
require(datasets)
Theoph <- Theoph
#plot for subject 1
conc <- qplot(Time, conc, data = subset(Theoph, Subject == 1))
plot(conc)