`wlc.Rd`

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)

x | list of risk factors (RaterLayer objects) |
---|---|

w | vector of weights |

na.rm | logical. |

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.