diff --git a/articles/cisp.html b/articles/cisp.html index 92ccdc9..3288943 100644 --- a/articles/cisp.html +++ b/articles/cisp.html @@ -124,7 +124,7 @@

Spatial pattern correlationg = cisp::spc(ndvi,cores = 6) }) ## user system elapsed -## 1.14 0.30 23.16 +## 0.84 0.20 21.50 g ## *** Spatial Pattern Correlation ## diff --git a/pkgdown.yml b/pkgdown.yml index 140d763..93a3378 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 2.1.1 pkgdown_sha: ~ articles: cisp: cisp.html -last_built: 2025-01-23T10:42Z +last_built: 2025-01-23T11:16Z urls: reference: https://stscl.github.io/cisp/reference article: https://stscl.github.io/cisp/articles diff --git a/reference/figures/cisp/plot_g2-1.png b/reference/figures/cisp/plot_g2-1.png index d909436..6730932 100644 Binary files a/reference/figures/cisp/plot_g2-1.png and b/reference/figures/cisp/plot_g2-1.png differ diff --git a/reference/spc-1.png b/reference/spc-1.png index 70adea2..885fed8 100644 Binary files a/reference/spc-1.png and b/reference/spc-1.png differ diff --git a/search.json b/search.json index 33131ff..76d240a 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://stscl.github.io/cisp/articles/cisp.html","id":"install-and-load-r-packages","dir":"Articles","previous_headings":"","what":"Install and load R packages","title":"A correlation indicator based on spatial patterns","text":"","code":"install.packages(\"cisp\", dep = TRUE) library(cisp)"},{"path":"https://stscl.github.io/cisp/articles/cisp.html","id":"spatial-pattern-correlation","dir":"Articles","previous_headings":"","what":"Spatial pattern correlation","title":"A correlation indicator based on spatial patterns","text":"Using data gdverse opgd vignette. Since spc function CISP requires input variables continuous, continuous variables retained data: results visualized default network graph style: results can also plotted using classic correlation coefficient matrix visualization style:","code":"ndvi = gdverse::ndvi ndvi ## # A tibble: 713 × 7 ## NDVIchange Climatezone Mining Tempchange Precipitation GDP Popdensity ## ## 1 0.116 Bwk low 0.256 237. 12.6 1.45 ## 2 0.0178 Bwk low 0.273 214. 2.69 0.801 ## 3 0.138 Bsk low 0.302 449. 20.1 11.5 ## 4 0.00439 Bwk low 0.383 213. 0 0.0462 ## 5 0.00316 Bwk low 0.357 205. 0 0.0748 ## 6 0.00838 Bwk low 0.338 201. 0 0.549 ## 7 0.0335 Bwk low 0.296 210. 11.9 1.63 ## 8 0.0387 Bwk low 0.230 236. 30.2 4.99 ## 9 0.0882 Bsk low 0.214 342. 241 20.0 ## 10 0.0690 Bsk low 0.245 379. 42.0 7.50 ## # ℹ 703 more rows ndvi = dplyr::select(ndvi,-c(Climatezone,Mining)) ndvi ## # A tibble: 713 × 5 ## NDVIchange Tempchange Precipitation GDP Popdensity ## ## 1 0.116 0.256 237. 12.6 1.45 ## 2 0.0178 0.273 214. 2.69 0.801 ## 3 0.138 0.302 449. 20.1 11.5 ## 4 0.00439 0.383 213. 0 0.0462 ## 5 0.00316 0.357 205. 0 0.0748 ## 6 0.00838 0.338 201. 0 0.549 ## 7 0.0335 0.296 210. 11.9 1.63 ## 8 0.0387 0.230 236. 30.2 4.99 ## 9 0.0882 0.214 342. 241 20.0 ## 10 0.0690 0.245 379. 42.0 7.50 ## # ℹ 703 more rows system.time({ g = cisp::spc(ndvi,cores = 6) }) ## user system elapsed ## 1.14 0.30 23.16 g ## *** Spatial Pattern Correlation ## ## | xv | yv | correlation | ## |:-------------:|:-------------:|:-----------:| ## | Precipitation | NDVIchange | 0.39517 | ## | Tempchange | NDVIchange | 0.01905 | ## | Popdensity | NDVIchange | 0.00483 | ## | GDP | NDVIchange | -0.02158 | ## | Precipitation | Tempchange | 0.07679 | ## | NDVIchange | Tempchange | 0.04977 | ## | Popdensity | Tempchange | 0.01516 | ## | GDP | Tempchange | -0.01466 | ## | NDVIchange | Precipitation | 0.35303 | ## | Popdensity | Precipitation | 0.01140 | ## | Tempchange | Precipitation | -0.00265 | ## | GDP | Precipitation | -0.02745 | ## | Popdensity | GDP | 0.29824 | ## | Tempchange | GDP | 0.09282 | ## | NDVIchange | GDP | 0.08061 | ## | Precipitation | GDP | 0.04213 | ## | GDP | Popdensity | 0.15481 | ## | Tempchange | Popdensity | 0.04483 | ## | NDVIchange | Popdensity | 0.00442 | ## | Precipitation | Popdensity | -0.07190 | plot(g) plot(g,style = \"matrix\")"},{"path":"https://stscl.github.io/cisp/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Wenbo Lv. Author, maintainer, copyright holder. Yongze Song. Author. Nan Jia. Author.","code":""},{"path":"https://stscl.github.io/cisp/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Lv W, Song Y, Jia N (2025). cisp: Correlation Indicator Based Spatial Patterns. R package version 0.2.0, https://github.com/stscl/cisp, https://stscl.github.io/cisp/.","code":"@Manual{, title = {cisp: A Correlation Indicator Based on Spatial Patterns}, author = {Wenbo Lv and Yongze Song and Nan Jia}, year = {2025}, note = {R package version 0.2.0, https://github.com/stscl/cisp}, url = {https://stscl.github.io/cisp/}, }"},{"path":"https://stscl.github.io/cisp/index.html","id":"cisp-","dir":"","previous_headings":"","what":"cisp | A Correlation Indicator Based On Spatial Patterns\n","title":"cisp | A Correlation Indicator Based On Spatial Patterns\n","text":"Correlation Indicator Based Spatial Patterns","code":""},{"path":"https://stscl.github.io/cisp/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"cisp | A Correlation Indicator Based On Spatial Patterns\n","text":"Install CRAN : Install development binary version R-universe : Install development source version GitHub :","code":"install.packages(\"cisp\", dep = TRUE) install.packages('cisp', repos = c(\"https://stscl.r-universe.dev\", \"https://cloud.r-project.org\"), dep = TRUE) if (!requireNamespace(\"devtools\")) { install.packages(\"devtools\") } devtools::install_github(\"stscl/cisp\", build_vignettes = TRUE, dep = TRUE)"},{"path":"https://stscl.github.io/cisp/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://stscl.github.io/cisp/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://stscl.github.io/cisp/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"NULL (magrittr pipe operator)","code":""},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":null,"dir":"Reference","previous_headings":"","what":"spatial pattern correlation — spc","title":"spatial pattern correlation — spc","text":"spatial pattern correlation","code":""},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"spatial pattern correlation — spc","text":"","code":"spc( data, overlay = \"and\", discnum = 3:8, discmethod = c(\"sd\", \"equal\", \"geometric\", \"quantile\", \"natural\"), cores = 1 )"},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"spatial pattern correlation — spc","text":"data data.frame, tibble sf object observation data. overlay (optional) Spatial overlay method. One , , intersection. Default . discnum (optional) vector number classes discretization. Default 3:8. discmethod (optional) vector methods discretization, default using c(\"sd\",\"equal\",\"geometric\",\"quantile\",\"natural\") invoking sdsfun. cores (optional) Positive integer (default 1). cores greater 1, use parallel computing.","code":""},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"spatial pattern correlation — spc","text":"list. cor_tbl tibble power spatial pattern correlation cor_mat matrix power spatial pattern correlation","code":""},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"spatial pattern correlation — spc","text":"","code":"sim1 = sf::st_as_sf(gdverse::sim,coords = c('lo','la')) sim1 #> Simple feature collection with 80 features and 4 fields #> Geometry type: POINT #> Dimension: XY #> Bounding box: xmin: 1 ymin: 1 xmax: 10 ymax: 8 #> CRS: NA #> # A tibble: 80 × 5 #> y xa xb xc geometry #> #> 1 0.23 1.96 4.17 4.82 (1 1) #> 2 0.34 10.7 3.83 7.41 (2 1) #> 3 0.32 3.08 4.23 5.25 (3 1) #> 4 0.25 2.67 3.02 3.91 (4 1) #> 5 0.49 9.05 3.65 6.67 (5 1) #> 6 0.7 4.93 4.16 5.80 (6 1) #> 7 0.8 9.99 3.86 7.19 (7 1) #> 8 0.84 2.60 2.56 3.43 (8 1) #> 9 0.78 8.23 2.99 5.74 (9 1) #> 10 0.65 14.8 2.03 6.97 (10 1) #> # ℹ 70 more rows # \\donttest{ g = spc(sim1, discnum = 3:6, cores = 1) g #> *** Spatial Pattern Correlation #> #> | xv | yv | correlation | #> |:--:|:--:|:-----------:| #> | xc | y | 0.11456 | #> | xb | y | 0.08727 | #> | xa | y | 0.02027 | #> | xc | xa | 0.32194 | #> | y | xa | 0.03498 | #> | xb | xa | 0.02510 | #> | xc | xb | 0.14924 | #> | y | xb | 0.04607 | #> | xa | xb | 0.04362 | #> | xa | xc | 0.12067 | #> | xb | xc | 0.05717 | #> | y | xc | 0.02997 | plot(g,\"matrix\") # }"},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":null,"dir":"Reference","previous_headings":"","what":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"spatial association marginal contributions derived spatial stratified heterogeneity","code":""},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"","code":"ssh_marginalcontri(formula, data, overlay = \"and\", cores = 1)"},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"formula formula ISP model. data data.frame, tibble sf object observation data. overlay (optional) Spatial overlay method. One , , intersection. Default . cores (optional) Positive integer (default 1). cores greater 1, use parallel computing.","code":""},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"list. pd robust power determinants spd shap power determinants determination determination optimal interaction variables","code":""},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"","code":"NTDs1 = sf::st_as_sf(gdverse::NTDs, coords = c('X','Y')) g = ssh_marginalcontri(incidence ~ ., data = NTDs1, cores = 1) g #> *** SSH Marginal Contributions #> #> | variable | spd | #> |:---------:|:-----------:| #> | watershed | 0.08591452 | #> | elevation | 0.04576116 | #> | soiltype | -0.01120835 | plot(g)"},{"path":"https://stscl.github.io/cisp/news/index.html","id":"cisp-020","dir":"Changelog","previous_headings":"","what":"cisp 0.2.0","title":"cisp 0.2.0","text":"Optimize spc OPGD efficiency rename results table (#13).","code":""},{"path":"https://stscl.github.io/cisp/news/index.html","id":"cisp-010","dir":"Changelog","previous_headings":"","what":"cisp 0.1.0","title":"cisp 0.1.0","text":"CRAN release: 2024-11-21 First stable release.","code":""}] +[{"path":"https://stscl.github.io/cisp/articles/cisp.html","id":"install-and-load-r-packages","dir":"Articles","previous_headings":"","what":"Install and load R packages","title":"A correlation indicator based on spatial patterns","text":"","code":"install.packages(\"cisp\", dep = TRUE) library(cisp)"},{"path":"https://stscl.github.io/cisp/articles/cisp.html","id":"spatial-pattern-correlation","dir":"Articles","previous_headings":"","what":"Spatial pattern correlation","title":"A correlation indicator based on spatial patterns","text":"Using data gdverse opgd vignette. Since spc function CISP requires input variables continuous, continuous variables retained data: results visualized default network graph style: results can also plotted using classic correlation coefficient matrix visualization style:","code":"ndvi = gdverse::ndvi ndvi ## # A tibble: 713 × 7 ## NDVIchange Climatezone Mining Tempchange Precipitation GDP Popdensity ## ## 1 0.116 Bwk low 0.256 237. 12.6 1.45 ## 2 0.0178 Bwk low 0.273 214. 2.69 0.801 ## 3 0.138 Bsk low 0.302 449. 20.1 11.5 ## 4 0.00439 Bwk low 0.383 213. 0 0.0462 ## 5 0.00316 Bwk low 0.357 205. 0 0.0748 ## 6 0.00838 Bwk low 0.338 201. 0 0.549 ## 7 0.0335 Bwk low 0.296 210. 11.9 1.63 ## 8 0.0387 Bwk low 0.230 236. 30.2 4.99 ## 9 0.0882 Bsk low 0.214 342. 241 20.0 ## 10 0.0690 Bsk low 0.245 379. 42.0 7.50 ## # ℹ 703 more rows ndvi = dplyr::select(ndvi,-c(Climatezone,Mining)) ndvi ## # A tibble: 713 × 5 ## NDVIchange Tempchange Precipitation GDP Popdensity ## ## 1 0.116 0.256 237. 12.6 1.45 ## 2 0.0178 0.273 214. 2.69 0.801 ## 3 0.138 0.302 449. 20.1 11.5 ## 4 0.00439 0.383 213. 0 0.0462 ## 5 0.00316 0.357 205. 0 0.0748 ## 6 0.00838 0.338 201. 0 0.549 ## 7 0.0335 0.296 210. 11.9 1.63 ## 8 0.0387 0.230 236. 30.2 4.99 ## 9 0.0882 0.214 342. 241 20.0 ## 10 0.0690 0.245 379. 42.0 7.50 ## # ℹ 703 more rows system.time({ g = cisp::spc(ndvi,cores = 6) }) ## user system elapsed ## 0.84 0.20 21.50 g ## *** Spatial Pattern Correlation ## ## | xv | yv | correlation | ## |:-------------:|:-------------:|:-----------:| ## | Precipitation | NDVIchange | 0.39517 | ## | Tempchange | NDVIchange | 0.01905 | ## | Popdensity | NDVIchange | 0.00483 | ## | GDP | NDVIchange | -0.02158 | ## | Precipitation | Tempchange | 0.07679 | ## | NDVIchange | Tempchange | 0.04977 | ## | Popdensity | Tempchange | 0.01516 | ## | GDP | Tempchange | -0.01466 | ## | NDVIchange | Precipitation | 0.35303 | ## | Popdensity | Precipitation | 0.01140 | ## | Tempchange | Precipitation | -0.00265 | ## | GDP | Precipitation | -0.02745 | ## | Popdensity | GDP | 0.29824 | ## | Tempchange | GDP | 0.09282 | ## | NDVIchange | GDP | 0.08061 | ## | Precipitation | GDP | 0.04213 | ## | GDP | Popdensity | 0.15481 | ## | Tempchange | Popdensity | 0.04483 | ## | NDVIchange | Popdensity | 0.00442 | ## | Precipitation | Popdensity | -0.07190 | plot(g) plot(g,style = \"matrix\")"},{"path":"https://stscl.github.io/cisp/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Wenbo Lv. Author, maintainer, copyright holder. Yongze Song. Author. Nan Jia. Author.","code":""},{"path":"https://stscl.github.io/cisp/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Lv W, Song Y, Jia N (2025). cisp: Correlation Indicator Based Spatial Patterns. R package version 0.2.0, https://github.com/stscl/cisp, https://stscl.github.io/cisp/.","code":"@Manual{, title = {cisp: A Correlation Indicator Based on Spatial Patterns}, author = {Wenbo Lv and Yongze Song and Nan Jia}, year = {2025}, note = {R package version 0.2.0, https://github.com/stscl/cisp}, url = {https://stscl.github.io/cisp/}, }"},{"path":"https://stscl.github.io/cisp/index.html","id":"cisp-","dir":"","previous_headings":"","what":"cisp | A Correlation Indicator Based On Spatial Patterns\n","title":"cisp | A Correlation Indicator Based On Spatial Patterns\n","text":"Correlation Indicator Based Spatial Patterns","code":""},{"path":"https://stscl.github.io/cisp/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"cisp | A Correlation Indicator Based On Spatial Patterns\n","text":"Install CRAN : Install development binary version R-universe : Install development source version GitHub :","code":"install.packages(\"cisp\", dep = TRUE) install.packages('cisp', repos = c(\"https://stscl.r-universe.dev\", \"https://cloud.r-project.org\"), dep = TRUE) if (!requireNamespace(\"devtools\")) { install.packages(\"devtools\") } devtools::install_github(\"stscl/cisp\", build_vignettes = TRUE, dep = TRUE)"},{"path":"https://stscl.github.io/cisp/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://stscl.github.io/cisp/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://stscl.github.io/cisp/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"NULL (magrittr pipe operator)","code":""},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":null,"dir":"Reference","previous_headings":"","what":"spatial pattern correlation — spc","title":"spatial pattern correlation — spc","text":"spatial pattern correlation","code":""},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"spatial pattern correlation — spc","text":"","code":"spc( data, overlay = \"and\", discnum = 3:8, discmethod = c(\"sd\", \"equal\", \"geometric\", \"quantile\", \"natural\"), cores = 1 )"},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"spatial pattern correlation — spc","text":"data data.frame, tibble sf object observation data. overlay (optional) Spatial overlay method. One , , intersection. Default . discnum (optional) vector number classes discretization. Default 3:8. discmethod (optional) vector methods discretization, default using c(\"sd\",\"equal\",\"geometric\",\"quantile\",\"natural\") invoking sdsfun. cores (optional) Positive integer (default 1). cores greater 1, use parallel computing.","code":""},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"spatial pattern correlation — spc","text":"list. cor_tbl tibble power spatial pattern correlation cor_mat matrix power spatial pattern correlation","code":""},{"path":"https://stscl.github.io/cisp/reference/spc.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"spatial pattern correlation — spc","text":"","code":"sim1 = sf::st_as_sf(gdverse::sim,coords = c('lo','la')) sim1 #> Simple feature collection with 80 features and 4 fields #> Geometry type: POINT #> Dimension: XY #> Bounding box: xmin: 1 ymin: 1 xmax: 10 ymax: 8 #> CRS: NA #> # A tibble: 80 × 5 #> y xa xb xc geometry #> #> 1 0.23 1.96 4.17 4.82 (1 1) #> 2 0.34 10.7 3.83 7.41 (2 1) #> 3 0.32 3.08 4.23 5.25 (3 1) #> 4 0.25 2.67 3.02 3.91 (4 1) #> 5 0.49 9.05 3.65 6.67 (5 1) #> 6 0.7 4.93 4.16 5.80 (6 1) #> 7 0.8 9.99 3.86 7.19 (7 1) #> 8 0.84 2.60 2.56 3.43 (8 1) #> 9 0.78 8.23 2.99 5.74 (9 1) #> 10 0.65 14.8 2.03 6.97 (10 1) #> # ℹ 70 more rows # \\donttest{ g = spc(sim1, discnum = 3:6, cores = 1) g #> *** Spatial Pattern Correlation #> #> | xv | yv | correlation | #> |:--:|:--:|:-----------:| #> | xc | y | 0.11456 | #> | xb | y | 0.08727 | #> | xa | y | 0.02027 | #> | xc | xa | 0.32194 | #> | y | xa | 0.03498 | #> | xb | xa | 0.02510 | #> | xc | xb | 0.14924 | #> | y | xb | 0.04607 | #> | xa | xb | 0.04362 | #> | xa | xc | 0.12067 | #> | xb | xc | 0.05717 | #> | y | xc | 0.02997 | plot(g,\"matrix\") # }"},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":null,"dir":"Reference","previous_headings":"","what":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"spatial association marginal contributions derived spatial stratified heterogeneity","code":""},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"","code":"ssh_marginalcontri(formula, data, overlay = \"and\", cores = 1)"},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"formula formula ISP model. data data.frame, tibble sf object observation data. overlay (optional) Spatial overlay method. One , , intersection. Default . cores (optional) Positive integer (default 1). cores greater 1, use parallel computing.","code":""},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"list. pd robust power determinants spd shap power determinants determination determination optimal interaction variables","code":""},{"path":"https://stscl.github.io/cisp/reference/ssh_marginalcontri.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"spatial association marginal contributions derived from spatial stratified heterogeneity — ssh_marginalcontri","text":"","code":"NTDs1 = sf::st_as_sf(gdverse::NTDs, coords = c('X','Y')) g = ssh_marginalcontri(incidence ~ ., data = NTDs1, cores = 1) g #> *** SSH Marginal Contributions #> #> | variable | spd | #> |:---------:|:-----------:| #> | watershed | 0.08591452 | #> | elevation | 0.04576116 | #> | soiltype | -0.01120835 | plot(g)"},{"path":"https://stscl.github.io/cisp/news/index.html","id":"cisp-020","dir":"Changelog","previous_headings":"","what":"cisp 0.2.0","title":"cisp 0.2.0","text":"Optimize spc OPGD efficiency rename results table (#13).","code":""},{"path":"https://stscl.github.io/cisp/news/index.html","id":"cisp-010","dir":"Changelog","previous_headings":"","what":"cisp 0.1.0","title":"cisp 0.1.0","text":"CRAN release: 2024-11-21 First stable release.","code":""}]