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" > > > > ______________________________________________ > > [email protected] mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide! > > http://www.R-project.org/posting-guide.html > > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
