search for: dosedaynomin

Displaying 1 result from an estimated 1 matches for "dosedaynomin".

Did you mean: dosedaynominal
2011 Aug 02
2
Help with aggregate syntax for a multi-column function please.
...a is the name of the dataframe, time is the independent variable column name, id is the subject id and dv is the dependent variable. The function computes area under the curve by trapezoidal rule, for each subject id. I would like to embed this in aggregate to further subset by each Cycle, DoseDayNominal and Drug, but I can't seem to get the aggregate syntax correct. All the examples I can find use single column function such as mean, whereas this AUC function requires four arguments. Could someone kindly show me the syntax? This is what I've tried so far: AUC.DF<- aggregate(PKd...