plot {recommenderlab} | R Documentation |
Plot Evaluation Results
Description
Creates precision-recall or ROC plots for recommender evaluation results.
Usage
## 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", ...)
Arguments
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 |
annotate |
annotate N (recommendation list size) to plot. |
xlim , ylim |
plot limits (see |
col |
colors (see |
pch |
point symbol to use (see |
lty |
line type (see |
legend |
where to place legend (see |
... |
further arguments passed on to |
See Also
evaluationResults
,
evaluationResultList
.
See
evaluate
for examples.
[Package recommenderlab version 1.0.6 Index]