Plotting function: six maps

plot6maps(ras, maptype)

Arguments

ras

RasterStack or RasterBrick with 6 layers (one per species, plus all species).

maptype

Character. Either "suitab" for suitability values between 0 and 1, "sd" for plotting standard deviations (between 0 and 0.5), or "diff" for plotting differences in suitability (between -0.5 and +0.5).

Value

A plot