merge suitability and capability rating from rrm onto vri-bem and calculate highest value and weighted average for each scores

merge_rrm_on_vri(vri_bem, rrm_dt, animal, return_sf = TRUE)

Arguments

vri_bem

sf object that represent VRI (vegetation ressource inventory) features

rrm_dt

data.table object that contains the rrm

animal

character, "bear" or "moose"

return_sf

logical, if TRUE return sf object , if FALSE return data.table object and update by reference

Value

sf vri-bem object with new columns for rating