Dear All,
 
I have the following example:
 
a <-matrix(c(1:100),ncol=10)
b <-matrix(c(2,4,6,8,10,12,14,16,18,20))
 
trapz(b,a)
 
will give me a result of 99, which it seems to me is the AUC of the 1st column 
only. Is it possible to get the AUC results by columns of "a" using the same 
"b" values in the calculations as opposed to just generating the result for the 
1st column? It would be important that the AUCs are NOT summed up, but awailble 
for further evaluation by columns of "a".
 
 
Apreciate the help,
 
Andras
        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to