Re: [R] cant get colAUC to plot

From: tom wright <tom_at_maladmin.com>
Date: Thu 01 Dec 2005 - 20:34:02 EST

Sorry perhaps I should have posted again. It wasnt a package error instead it was my misunderstanding of what the package was asking for. For future information the colAUC function requires a dataframe with at least two datasets as well as an outcome set. It can be 'tricked' into drawing an ROC curve for one set simply by duplicating the data.

On Thu, 2005-01-12 at 08:35 +0100, Uwe Ligges wrote:
> tom wright wrote:
>
> > Can someone please explain why this wont plot. The cats example given
> > for the colAUC function will plot.
>
> Please report bugs in packages to the package maintainer rather than to
> R-help.
>
> Uwe Ligges
>
>
>
>
> > Many thanks again
> > tom
> >
> > #########################
> > library(caTools)
> > a<-rnorm(100)
> > b<-rbinom(100,1,0.7)
> > colAUC(a,b,plotROC=TRUE)
> >
> >
> >>colAUC(a,b,plotROC=TRUE)
> >
> > Error in strwidth(legend, units = "user", cex = cex) :
> > argument "legend" is missing, with no default
> >
> >
> >
> >>R.Version()
> >
> > $platform
> > [1] "x86_64-pc-linux-gnu"

> >
> > $arch
> > [1] "x86_64"
> >
> > $os
> > [1] "linux-gnu"

> >
> > $system
> > [1] "x86_64, linux-gnu"

> >
> > $status
> > [1] ""
> >
> > $major
> > [1] "2"
> >
> > $minor
> > [1] "1.0"

> >
> > $year
> > [1] "2005"
> >
> > $month
> > [1] "04"
> >
> > $day
> > [1] "18"
> >
> > $language
> > [1] "R"
> >
> > ______________________________________________
> > 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
>
>



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 02 01:33:40 2005

This archive was generated by hypermail 2.1.8 : Fri 02 Dec 2005 - 04:30:22 EST