complexity_Renyi: A function to compute Renyi complexity

Description Usage Arguments Details Value Author(s) References Examples

View source: R/complexity_measures_Renyi.R

Description

Renyi complexity

Usage

1
complexity_Renyi(opd, alpha)

Arguments

opd

A numeric vector that details an ordinal pattern distribution.

alpha

alpha parameter in Renyi complexity

Details

This function calculates the Renyi complexity as described in Jauregui et al., Physica A, 498 74-85, 2018.

Value

The Renyi complexity value.

Author(s)

Sebastian Sippel

References

Jauregui et al., Physica A, 498 74-85, 2018.

Examples

1
2
3
x = arima.sim(model=list(ar = 0.3), n = 10^4)
opd = ordinal_pattern_distribution(x = x, ndemb = 6)
complexity_Renyi(opd = opd, alpha = 0.5)

Example output

[1] 0.0216627

statcomp documentation built on Oct. 30, 2019, 11:15 a.m.