cr_symb: A function to create symbols

View source: R/cr_symb.R

cr_symbR 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

m.surround

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

spqdep documentation built on March 28, 2022, 5:06 p.m.