Learn R Programming

CorReg (version 0.15.8)

matplot_zone: draws matplot with conditionnal background for easier comparison of curves.

Description

draws matplot with conditionnal background for easier comparison of curves.

Usage

matplot_zone(x = x, y = y, col = 1:6, alpha = 0.2, what = which.min,
  ylim = NULL, xlim = NULL, type = "p", xlab = NULL, ylab = NULL,
  main = NULL, ...)

Arguments

x
the abscisses
y
matrix of the curves (columns)
col
list of colors (like in matplot)
alpha
parameter for transparency of the background
what
a function to choose a winner
ylim
vector for vertical limits
xlim
vector for horizontal limits
type
the type of curve (like in matplot)
xlab
(like in matplot)
ylab
(like in matplot)
main
the main title (like in matplot)
...
Graphical parameters