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

merge_rating_bear(vri_bem, rrm_dt, rating_variables, rating_variables_expr)

Arguments

vri_bem

sf object that represent VRI (vegetation ressource inventory) features

rrm_dt

data.table object that contains the rrm

rating_variables

list, vector for each rating variables to create

rating_variable_expr

parse_expr , expression for variable to merge in data.table

Value

sf vri-bem object with new columns for rating