Plot average generalization error vs. number of top features

PlotErrors(
  errors,
  errors2 = NULL,
  no.info = 0.5,
  ylim = range(c(errors, errors2), na.rm = T),
  xlab = "Number of Features",
  ylab = "10x CV Error"
)

Arguments

errors

The results of FeatSweep.wrap.

errors2

A different result of FeatSweep.wrap to be compared with (colored in gray).

no.info

The min(prop.table(table(input[,1])))

ylim

Graphical parameter to limit the size of the plot

xlab

Name of the x axis

ylab

Name of the y axis

Value

Called for its side effects of plotting.