local_g_spt: Calculate the Local Gi* for a spacetime cube

View source: R/spacetime-local-gistar-impl.R

local_g_sptR Documentation

Calculate the Local Gi* for a spacetime cube

Description

An alternative implementation to spdep::localG intended for use with a spacetime cube.

Usage

local_g_spt(x, times, nb, wt, n_locs, nsim)

Arguments

x

a numeric vector

times

a vector determining time order

nb

a spacetime neighbors list

wt

a weights list associated with nb

n_locs

the number of unique locations

n_sim

the number of simulations to run for calculating p_sim


sfdep documentation built on Jan. 11, 2023, 9:08 a.m.