Learn R Programming

LSC (version 0.1.5)

states2LSC: Estimate local statistical complexity (LSC) from states

Description

Converts states (either as a size $N$ array of labels or an $N \times K$ weight matrix) into $N$ local statistical complexities (LSC) per state.

If states is a matrix - representing the state space in the dimensions of the original data - then the LSC output will be formatted automatically to an array of the same shape and dimension.

Usage

states2LSC(weight.matrix = NULL, states = NULL, base = 2, type = c("MLE"))

Arguments

weight.matrix
$N \times K$ weight matrix
states
array of size $N$ with entry $i$ being the label $k = 1, \ldots, K$ of PLC $i$.
base
logarithm base for complexity (entropy). Default: base = 2 (thus 'bits').
type
estimation type for the probabilities: "MLE"

See Also

states2probs