rangeMap.save
is basically an sql constructor; the sql query can be shown by changing show.sql
argument to FALSE
. In the case of simple functions like species richness (count) or average, FUN
is computed by the database engine, otherwise rangeMap.save
constructs the query and uses lapply
to compute FUN
.rangeMap.save(dbcon, FUN = richness, biotab = NA, biotrait,table.nam, subset = NULL, show.sql = FALSE)
rangeMap.fetch(dbcon, map)
rangeMap.plot(map, colorpalette, ncols, style, scales = FALSE)
FUN
is missing then species richness (species count) is computed.bio.save
(without the assemblage.stat
.
The left side of the formula identifies the table.nam
prior to saving.list
. Names reffers to WHERE
tkColorPalette
which allows for interactive choice of color palettesclassIntervals
classIntervals
for more detailsspplot
rangeMap.save
rangeMap.fetch
SpatialPixelsDataFrame
object.rangeMapper
for a complete example.