tblAUC(Theoph, key="Subject", colX="Time", colY="conc")
iAUC = data.frame(Name=c("AUC[0-12h]","AUC[0-24h]"), Start=c(0,0), End=c(12,24))
tblAUC(Indometh, key="Subject", colX="time", colY="conc", iAUC=iAUC)
Run the code above in your browser using DataLab