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