Learn R Programming

rgeoda (version 0.1.0)

lisa_bo: Bonferroni bound value of local spatial autocorrelation

Description

Get Bonferroni bound value based on current LISA computation and current significat p-value

Usage

lisa_bo(gda_lisa, current_p)

Value

A numeric value of Bonferroni bound

Arguments

gda_lisa

An instance of LISA object

current_p

A value of current siginificant p-value

Examples

Run this code
if (FALSE) {
library(sf)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- st_read(guerry_path)
queen_w <- queen_weights(guerry)
lisa <- local_moran(queen_w, guerry["Crm_prs"])
bo <- lisa_bo(lisa, 0.05)
bo
}

Run the code above in your browser using DataLab