The arguments time, id and dv take character strings. AUC(Data, time = "Time", id = "Fraction", dv = "Variable") Fraction AUC 1 C1 4413.549
Regards, Chris Campbell MANGO SOLUTIONS Data Analysis that Delivers +44 1249 767700 -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of arivald Sent: 15 December 2011 13:54 To: r-help@r-project.org Subject: [R] Calculate AUC Using the Trapezoidal Method Hello, I want to use function AUC {MIfuns} but I have problem with arguments. My data: Fraction Time Variable C1 0 0.00000 C1 15 20.95475 C1 30 28.55030 C1 60 36.33064 C1 90 48.80438 C1 120 60.18636 AUC(data, time = Time, id = Fraction, dv = Variable) ##this is not working! Thx! -- View this message in context: http://r.789695.n4.nabble.com/Calculate-AUC-Using-the-Trapezoidal-Method-tp4200049p4200049.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. LEGAL NOTICE This message is intended for the use o...{{dropped:10}} ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.