st_fuzzyoverlay {gdverse} | R Documentation |
Function for spatial fuzzy overlay.
st_fuzzyoverlay(formula, data, method = "and")
formula |
A formula of spatial fuzzy overlay. |
data |
A data.frame or tibble of discretized data. |
method |
(optional) Overlay methods. When |
A spatial fuzzy overlay vector.
Independent variables in the data
provided to st_fuzzyoverlay()
must be discretized variables,
and dependent variables are continuous variables.
Wenbo Lv lyu.geosocial@gmail.com
Yongze Song & Peng Wu (2021) An interactive detector for spatial associations, International Journal of Geographical Information Science, 35:8, 1676-1701, DOI:10.1080/13658816.2021.1882680
data('sim')
sim = sim %>%
dplyr::mutate(dplyr::across(4:6,\(.x) st_unidisc(.x,4,"quantile")))
fo1 = st_fuzzyoverlay(y~xa+xb+xc,data = sim, method = 'and')
fo2 = st_fuzzyoverlay(y~xa+xb+xc,data = sim, method = 'or')
fo1
fo2