roc.plot: Plot a ROC

Description Usage Arguments Value Author(s) See Also Examples

Description

This functions uses the results of generate.roc to plot a ROC plot

Usage

1
2
3
roc.plot(pows, legend = NULL, cols = colorRampPalette(c("blue", "gray"))(dim(pows)[3]), 
	mains = c("Linear", "Quadratic", "Cubic", "Sine:period 1/2", 
		"Sine: period 1/8", "X^(1/4)", "Circle", "Step function", "Torus"))

Arguments

pows

array, as returned by generate.roc

legend

NULL (default) to disable legend or a matrix with noise levels as used in run.tests

cols

colours to use for the plots

mains

main title for each plot

Value

This function is used solely for its side effect of plotting

Author(s)

Sebastian D├╝mcke duemcke@mpipz.mpg.de

See Also

run.tests

Examples

1
2
3
4
mycor = function(...) cor(...)^2
noises = cbind(lin=c(.1,.5,.8),circ=c(.2,.4,.6))
results.cor= run.tests(mycor,args=list(),types=c(1,7),noises=noises,nsim=100,size=50)
roc.plot(generate.roc(results.cor,pval=FALSE),legend=noises)


Search within the knnIndep package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.