You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This calculation of the bivariate local moran is slow. It would be much more effecitve to calculate using x * st_lag(y, nb, wt). See benchmark below.
This can be replaced fairly simply. After changing local_moran_bv_calc() to include nb argument, local_moran_bv_impl() and local_moran_bv_perm_impl() will need to be modified to use the new calculation.
For the function definition in line 15, I'd suggest the arguments to be x, y, nb, and wt. Then the body of the function can be x * st_lag(y, nb, wt). Then, update the instances where local_moran_bv_calc() is called
sfdep/R/local-moran-bv-impl.R
Line 15 in 45f8e53
This calculation of the bivariate local moran is slow. It would be much more effecitve to calculate using
x * st_lag(y, nb, wt)
. See benchmark below.This can be replaced fairly simply. After changing
local_moran_bv_calc()
to includenb
argument,local_moran_bv_impl()
andlocal_moran_bv_perm_impl()
will need to be modified to use the new calculation.Created on 2022-08-05 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: