[R] Displaying Counts of Unused Factors in Contingency Tables with table()

2010-07-28 Thread Na'im R. Tyson
R-philes, I have a question about displaying counts of unused factors using the table() function. I have two vectors with character data in them: local.labels(ah, ah, ah~) local.preds(ah, ah, ah) If I use the table function as shown below, I get an error because the number of levels do

[R] Computing Confidence Intervals for AUC in ROCR Package

2010-01-22 Thread Na'im R. Tyson
Dear R-philes, I am plotting ROC curves for several cross-validation runs of a classifier (using the function below). In addition to the average AUC, I am interested in obtaining a confidence interval for the average AUC. Is there a straightforward way to do this via the ROCR package?

Re: [R] Computing Confidence Intervals for AUC in ROCR Package

2010-01-22 Thread Na'im R. Tyson
, at 3:53 AM, Na'im R. Tyson wrote: Dear R-philes, I am plotting ROC curves for several cross-validation runs of a classifier (using the function below). In addition to the average AUC, I am interested in obtaining a confidence interval for the average AUC. Is there a straightforward way to do

Re: [R] Exporting Contingency Tables with xtable

2009-12-09 Thread Na'im R. Tyson
(state.division, state.region), rowlabel = X, collabel = Y, file = ) On Wed, Dec 9, 2009 at 12:04 AM, Na'im R. Tyson nty...@clovermail.net wrote: Dear R-philes: I am having an issue with exporting contingency tables with xtable(). I set up a contingency and convert it to a matrix for passing

[R] Exporting Contingency Tables with xtable

2009-12-08 Thread Na'im R. Tyson
Dear R-philes: I am having an issue with exporting contingency tables with xtable(). I set up a contingency and convert it to a matrix for passing to xtable() as shown below. v.cont.table - table(v_lda$class, grps, dnn=c(predicted, observed)) v.cont.mat - as.matrix(v.cont.table)

[R] ROCR Issue: Averaging Across Multiple Classifier Runs in ROC Curve

2009-11-25 Thread Na'im R. Tyson
Dear R-philes, I am having some trouble averaging across multiple runs of a classifier in an ROC Curve. I am using the ROCR package and the plot() method. First, I initialize a list with two elements where each element is a list of predictions and labels: vowel.ROC -