Re: [R] Name conflict between Epi and ROC packages

2005-12-15 Thread Vincent Carey 525-2265
apparently there is already a namespace for ROC. so whenever you need disambiguation and want to select the function defined in ROC, use ROC::f where "f" names a function in ROC package, and "f" is also used in another package on the searchlist. __ R-he

Re: [R] Name conflict between Epi and ROC packages

2005-12-15 Thread Seth Falcon
On 15 Dec 2005, [EMAIL PROTECTED] wrote: > The name conflicts in Epi and ROC packages (2 'ROC' functions are > the problem) cause the following code to work once, but not twice: > > library(MASS); data(cats); > x = cats[,2] > y = ifelse(cats[,1]=='F',0,1) > library(Epi); ROC(x,y,grid=0)$AUC > libr

Re: [R] Name conflict between Epi and ROC packages

2005-12-15 Thread Vincent Carey 525-2265
we can use name spaces. i will try to put one in for ROC ASAP. best regards --- Vince Carey, PhD Assoc. Prof Med (Biostatistics) Harvard Medical School Channing Laboratory - ph 6175252265 fa 6177311541 181 Longwood Ave Boston MA 02115 USA [EMAIL PROTECTED] On Thu, 15 Dec 2005, Tuszynski, Jarosla

[R] Name conflict between Epi and ROC packages

2005-12-15 Thread Tuszynski, Jaroslaw W.
The name conflicts in Epi and ROC packages (2 'ROC' functions are the problem) cause the following code to work once, but not twice: library(MASS); data(cats); x = cats[,2] y = ifelse(cats[,1]=='F',0,1) library(Epi); ROC(x,y,grid=0)$AUC library(ROC); AUC(rocdemo.sca(y, x, dxrule.sca))