calculate_info_symbols: Calculate information contribution of symbols

Description Usage Arguments Details Value Examples

View source: R/calculate_info_symbols.R

Description

Calculate information contribution of symbols

Usage

1

Arguments

x

character string

block_size

block size required to estimate the Kolmogorov-Chaitin complexity of x using the 1-dimensional Block Decomposition Method (BDM).

offset

offset required to estimate the Kolmogorov-Chaitin complexity of x using the 1-dimensional Block Decomposition Method (BDM).

base

number of symbols in the alphabet over which x is defined.

Details

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.

Value

A data frame containing the perturbations on the original string's characters and their corresponding information contributions.

Examples

1
2
3
4
5
## Not run: 
ex_str <- "1010010111010"
calculate_info_symbols(ex_str, 12, 11, 2)

## End(Not run)

allgebrist/algodyn documentation built on Oct. 21, 2019, 2:47 a.m.