plotmap
, map.identify
, and the levelplot
methods internally use the same
gateway function to levelplot
. Thus transform.factor
can be used
with all of them and the panel function defaults to panel.levelplot.raster
for all three. Two special column names, .rownames
and .wavelength
may be used.
levelplot
plots the spectra matrix.
plotvoronoi
calls plotmap
with different default settings, namely the panel
function defaults to panel.voronoi
.
panel.voronoi
depends on either of the packages 'tripack' or 'deldir'
being installed. For further information, please consult the help page of
panel.voronoi
. On the chondro
data set, plotmap
is roughly 5 times faster than plotvoronoi
using tripack, and ca. 15 times faster than
plotvoronoi
using deldir. Package tripack, however, is free only for non-commercial
use. Also, it seems that tripack version hang (R running at full CPU power, but not responding
nor finishing the calculation) for certain data sets. In this case, mix = TRUE
may help.
map.identify
calls plotmap
and plotvoronoi
, respectively and waits for
(left) mouse clicks on points. Other mouse clicks end the input.
Unlike panel.identify
, the indices returned by map.identify
are in
the same order as the points were clicked. Also, multiple clicks on the same point are returned
as multiple entries with the same index.
map.identify
uses option debuglevel
similar to spc.identify
:
debuglevel == 1
will plot the tolerance window if no data point was inside (and
additionally labels the point) while debuglevel == 2
will always plot the tolerance
window.
The map.sel.*
functions offer further interactive selection, see
map.sel.poly
.