Displaying 1 result from an estimated 1 matches for "concentrationbqlzero".
2011 Aug 02
2
Help with aggregate syntax for a multi-column function please.
...our arguments.
Could someone kindly show me the syntax?
This is what I've tried so far:
AUC.DF<- aggregate(PKdata, list(PKdata$Cycle, PKdata$DoseDayNominal,
PKdata$Drug),
function(x,tm,pt,conc) {AUC(x)},
tm="TimeBestEstimate", pt="Pt", conc="ConcentrationBQLzero" )
AUC.DF<- aggregate(PKdata, list(PKdata$Cycle, PKdata$DoseDayNominal,
PKdata$Drug),
function(x) {AUC(x,"TimeBestEstimate", "Pt",
"ConcentrationBQLzero" )} )
AUC syntax is:
args(AUC)
function (data, time = "TIME", id = "I...