- x
Vector of longitudes, from make.grid in mapplots; x. Order by this
(descending) SECOND.
- y
Vector of latitudes, from make.grid in mapplots; grids[,gridslat].
Order by this (descending) first.
- z
Vector of abundances generated by gbm.predict.grids, from make.grid
in mapplots; grids[,predabund].
- byx
Longitudinal width of grid cell, from make.grid in mapplots.
Autogenerated if left blank.
- byy
Latitudinal height of grid cell, from make.grid in mapplots.
Autogenerated if left blank.
- grdfun
make.grid operand for >=2 values per cell. Default:mean, other
options: sum prod min max sd se var.
- mapmain
Plot title, has species value appended. Default "Predicted
CPUE (numbers per hour): ".
- species
Response variable name, from basemap in mapplots;
names(samples[i]). Defaults to "Response Variable".
- heatcolours
Vector for abundance colour scale, defaults to the heatcol from
legend.grid and draw.grid in mapplots which is c("white", "yellow", "orange"
, "red", "brown4").
- colournumber
Number of colours to spread heatcol over, default:8.
- shape
Basemap shape to draw, from draw.shape in mapplots. Defaults to
NULL which calls gbm.basemap to generate it for you. First read in a shp file e.g. myshape <-
sf::st_read(dsn = paste0(savename, ".shp"), layer = savename, quiet = TRUE), then use shape = myshape.
- landcol
Colour for 'null' area of map (for marine plots, this is
land), from draw.shape in mapplots. Default "grey80" (light grey).
- mapback
Basemap background colour, defaults to lightblue (ocean for
marine plots).
- legendloc
Location on map of legend box, from legend.grid in mapplots,
default bottomright.
- legendtitle
The metric of abundance, e.g. CPUE for fisheries, from
legend.grid in mapplots. Default "CPUE".
- lejback
Background colour of legend, from legend.grid in mapplots.
Default "white".
- zero
Force include 0-only bin in breaks.grid and thus legend? Default
TRUE.
- quantile
Set max quantile of data to include in bins, from breaks.grid
in mapplots; lower to e.g. 0.975 cutoff outliers; default 1.
- byxout
Export byx to use elsewhere? Default:FALSE.
- breaks
Vector of breakpoints for colour scales; default blank,
generated automatically.
- byxport
Dummy param for package testing for CRAN, ignore.
- ...
Additional arguments for legend.grid's ... which passes to legend.