Learn R Programming

cisp (version 0.2.0)

ssh_marginalcontri: spatial association marginal contributions derived from spatial stratified heterogeneity

Description

spatial association marginal contributions derived from spatial stratified heterogeneity

Usage

ssh_marginalcontri(formula, data, overlay = "and", cores = 1)

Value

A list.

pd

power of determinants

spd

shap power of determinants

determination

determination of the optimal interaction of variables

Arguments

formula

A formula of ISP model.

data

A data.frame, tibble or sf object of observation data.

overlay

(optional) Spatial overlay method. One of and, or, intersection. Default is and.

cores

(optional) Positive integer (default is 1). When cores are greater than 1, use parallel computing.

Examples

Run this code
NTDs1 = sf::st_as_sf(gdverse::NTDs, coords = c('X','Y'))
g = ssh_marginalcontri(incidence ~ ., data = NTDs1, cores = 1)
g
plot(g)

Run the code above in your browser using DataLab