Combine a list of risk layers using a weighted linear approach: $$w_1 x_1 + w_2 x_2 + \cdots$$
wlc(x, w, na.rm = TRUE)
list of risk factors (RaterLayer objects)
vector of weights
A RasterLayer object.
Missing values are by default removed from the combination, yielding a result
that relies on the available factors in each place. If
na.rm = FALSE,
then all pixels where at least one risk factor is missing get a missing value
as the result.