Description Usage Arguments Details Value Examples
View source: R/calculate_info_symbols.R
Calculate information contribution of symbols
1 | calculate_info_symbols(x, block_size, offset, base)
|
x |
character string |
block_size |
block size required to estimate the Kolmogorov-Chaitin complexity of |
offset |
offset required to estimate the Kolmogorov-Chaitin complexity of |
base |
number of symbols in the alphabet over which |
The information contribution of a symbol i to a string s is given by I(s,i)=C(s)-C(s-i), where C(s) denotes the information content of s and C(s-i) the information content of s after removing i.
A data frame containing the perturbations on the original string's characters and their corresponding information contributions.
1 2 3 4 5 | ## Not run:
ex_str <- "1010010111010"
calculate_info_symbols(ex_str, 12, 11, 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.