plot {recommenderlab} | R Documentation |
Creats precision-recall or ROC plots for recommender evaluation results.
## S4 method for signature 'evaluationResults': plot(x, y, avg = TRUE, add=FALSE, type= "b", annotate = FALSE, ...) ## S4 method for signature 'evaluationResultList': plot(x, y, xlim=NULL, ylim=NULL, col = NULL, pch = NULL, lty = 1, avg = TRUE, type = "b", annotate= 0, legend="bottomright", ...)
x |
the object to be plotted. |
y |
a character string indicating the type of plot (e.g., "ROC" or "prec/rec"). |
avg |
plot average of runs? |
add |
add to a plot? |
type |
line type (see plot ). |
annotate |
annotate N (recommendation list size) to plot. |
xlim,ylim |
plot limits (see plot ). |
col |
colors (see plot ). |
pch |
point symbol to use (see plot ). |
lty |
line type (see plot ) |
legend |
where to place legend (see legend ). |
... |
further arguments passed on to plot . |
evaluationResults
,
evaluationResultList
.
See
evaluate
for examples.