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

From: Vincent Carey 525-2265 <stvjc_at_channing.harvard.edu>
Date: Fri 16 Dec 2005 - 02:58:44 EST

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
stvjc@channing.harvard.edu

On Thu, 15 Dec 2005, Tuszynski, Jaroslaw W. 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
> library(ROC); AUC(rocdemo.sca(y, x, dxrule.sca))
>
> What is the standard way of resolving name conflicts? Ask maintainers to
> resolve it or rename the younger function, use namespaces somehow, or
> something else?
>
> My machine is WinXP, R-2.2.0, ROC and Epi packages are the latest versions.
>
> Jarek Tuszynski
>
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Dec 16 03:50:05 2005

This archive was generated by hypermail 2.1.8 : Fri 16 Dec 2005 - 04:36:07 EST