plot: Plot Evaluation Results

plotR 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 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.

See Also

evaluationResults, evaluationResultList. See evaluate for examples.


recommenderlab documentation built on Sept. 20, 2023, 9:06 a.m.