AI {smile} | R Documentation |
Areal Interpolation
Description
This function estimates variables observed at a "source" region into a "target" region. "Source" and "target" regions represent two different ways to divide a city, for example. For more details, see https://lcgodoy.me/smile/articles/sai.html.
Usage
ai(source, target, vars)
ai_var(source, target, vars, vars_var, sc_vars = FALSE, var_method = "CS")
Arguments
source |
a |
target |
a |
vars |
a |
vars_var |
a scalar of type |
sc_vars |
boolean indicating whether |
var_method |
a |
Value
the target (of type sf
) with estimates of the variables
observed at the source data.