Make a vegetation type map from a stack of species abundances

makeVegTypeMap(speciesStack, vegLeadingProportion, mixed = TRUE)

## Arguments

speciesStack A RasterStack of species abundances. This must be one RasterLayer per species. The threshold as a proportion of the total abundance that a species must have to be considered a "pure" stand of that type. If no species reaches this proportion, then the pixel will be 'Mixed'. Logical. If TRUE, then a mixed pixel value will be identified and given (see vegLeadingProportion argument)

A factor raster