Make a vegetation type map from a stack of species abundances
makeVegTypeMap(speciesStack, vegLeadingProportion, mixed = TRUE)
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'.
A factor raster