Panel Plots using Colour Image or Contour Lines
panel.contour(x, y, ..., sigma = NULL) panel.image(x, y, ..., sigma = NULL) panel.histogram(x, ...)
x,y |
Coordinates of points in a scatterplot. |
... |
Extra graphics arguments, passed to |
sigma |
Bandwidth of kernel smoother, on a scale where x and y range between 0 and 1. |
The functions panel.contour and panel.contour
are suitable for the off-diagonal plots which involve
two datasets x and y.
They first rescale x and y to the unit square,
then apply kernel smoothing with bandwidth sigma
using density.ppp.
Then panel.contour draws a contour plot
while panel.image draws a colour image.
The function panel.histogram is suitable for the
diagonal plots which involve a single dataset x.
It displays a histogram of the data.
Null.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.
pairs(bei.extra,
panel = panel.contour,
diag.panel = panel.histogram)
with(bei.extra,
pairs(grad, elev,
panel = panel.image,
diag.panel = panel.histogram))
pairs(marks(finpines), panel=panel.contour, diag.panel=panel.histogram)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.