Description Usage Arguments Value Note See Also Examples
View source: R/xPredictCompare.r
xPredictCompare
is supposed to compare prediction performance
results. It returns an object of class "ggplot".
1 2 3 4 5 6 7 8 9 10 |
list_pPerf |
a list of "pPerf" objects |
displayBy |
which performance will be used for comparison. It can be "ROC" for ROC curve (by default), "PR" for PR curve |
type |
the type of plot to draw. It can be "curve" for curve plot (by default), "bar" for bar plot |
sort |
logical to indicate whether to sort methods according to performance. By default, it sets TRUE |
detail |
logical to indicate whether to label methods along with performance. By default, it sets TRUE |
facet |
logical to indicate whether to facet/wrap a 1d of panels into 2d. By default, it sets FALSE |
font.family |
the font family for texts |
signature |
a logical to indicate whether the signature is assigned to the plot caption. By default, it sets TRUE showing which function is used to draw this graph |
an object of class "ggplot" or NULL (if all input pPerf objects are NULL)
none
1 2 3 4 5 6 7 8 | RData.location <- "http://galahad.well.ox.ac.uk/bigdata"
## Not run:
bp <- xPredictCompare(ls_pPerf, displayBy="ROC")
print(bp)
## modify legend position
bp + theme(legend.position=c(0.75,0.25))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.