knitr::opts_chunk$set( collapse = TRUE, echo = FALSE, comment = "#>" ) library(magrittr) fp <- system.file("extdata", "lookups.yml", package = "sfdep") df <- yaml::read_yaml(fp, error.label = "")
Measures of global spatial autocorrelation.
tibble::enframe(df$global_stats) %>% tidyr::unnest_wider(value) %>% dplyr::mutate(pysal = ifelse(is.na(pysal), "", pysal)) %>% knitr::kable()
Measures of local spatial autocorrelation.
df$lisas %>% tibble::enframe() %>% tidyr::unnest_wider(value) %>% dplyr::mutate(pysal = purrr::map_chr(pysal, ~stringr::str_c(.x, collapse = ", "))) %>% knitr::kable()
Functions present in Pysal that are not implemented in sfdep.
df[["not implemented"]] %>% tibble::as_tibble() %>% dplyr::rename(`function` = value) %>% knitr::kable()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.