For example, each Census Tract has two categorical variables derived from two different methods. I'd like to figure out how similar those two methods are.
The software I will be using is R.
I have tried looking up answers online, but they do not quite answer my question. The answers online either involve auto-correlation of one variable or testing of spatial correlation between two continuous variables.