cr_symb {spqdep} | R Documentation |
A function to create symbols
Description
This function obtains the set of symbols to get the Q-statistic
Usage
cr_symb(k = k, m = m)
Arguments
k |
number of categories |
m |
length of the m-surrounding |
Details
...
Value
A list with two types of symbols. Permutation and Combinations-totals
p_symb | Matrix with symbols (permutations) |
c_symb | Matrix with symbols (combinations) |
Author(s)
Fernando López | fernando.lopez@upct.es |
Román Mínguez | roman.minguez@uclm.es |
Antonio Páez | paezha@gmail.com |
Manuel Ruiz | manuel.ruiz@upct.es |
References
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
See Also
Examples
# 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
[Package spqdep version 0.1.3.5 Index]