powered by
This function obtains the set of symbols to get the Q-statistic
cr_symb(k = k, m = m)
A list with two types of symbols. Permutation and Combinations-totals
p_symb
c_symb
number of categories
length of the m-surrounding
...
Ruiz M, López FA, A Páez. (2010). Testing for spatial association of qualitative data using symbolic dynamics. Journal of Geographical Systems. 12 (3) 281-309
m.surround
# Example 1: Obtain symbols for k=2 classes and m-surroundings of size 5 symb25 <- cr_symb(2,5) symb25$p_symb # Permutations symbols symb25$c_symb # Combinations-totals symbols
Run the code above in your browser using DataLab