local_joincount_bv function

Calculate the local bivariate join count