Displaying 3 results from an estimated 3 matches for "plotroc".
2011 Mar 16
2
calculating AUCs for each of the 1000 boot strap samples
...3 706 730 606 743 768 768 743 763 608 730
743 743 530 813 813 831 793 900 793 693 900 738 706 831
[33] 818 758 718 831 768 638 770 738
> repl<-list()
> auc<-list()
> for(i in 1:1000)
+ {
+ repl[[i]]<-f(data)
+ auc[[i]]<-colAUC(repl[[i]],rep(c("BAD","GOOD")),plotROC=FALSE,alg="ROC")
+ }
Error in
colAUC(repl[[i]], rep(c("BAD", "GOOD")), plotROC = FALSE, alg = "ROC") :
colAUC: length(y) and nrow(X) must be the same Thanks alotTaby
[[alternative HTML version deleted]]
2013 Jan 30
2
Programmatically give file name to a matrix
I have a situation when I need to save matrix with file names that are
programmatically created.
for (i in levels(mergeTrn$Continent)) {
matrix here....
# I want to save this matrix with a file name that carries "i" from for
loop. The following does not work.
paste("plotroc_GBM_Trn_", i, sep="") <- matrix
}
Thanks,
Kumar
--
Section of Integrative Biology
University of Texas at Austin
Austin, Texas 78712, USA
[[alternative HTML version deleted]]
2005 Sep 22
2
Survey of ROC AUC / wilcoxon test functions
...' & 'roc.area'
I wrote short code to compare them all:
# Compare calAUC with other functions designed for similar purpose
library(caTools)
library(verification)
library(ROC)
library(ROCR)
library(Epi)
library(limma)
library(MASS)
data(cats)
colAUC(cats[,2:3], cats[,1], plotROC=TRUE)
auc = matrix(NA,9,3)
pval = matrix(NA,4,3)
rownames(auc) = c("colAUC(alg='ROC')", "colAUC(alg='Wilcox')",
"wilcox.test",
"rank", "roc.area", "AUC", "performance", "ROC&quo...