# states2LSC: Estimate local statistical complexity (LSC) from states In LSC: Local Statistical Complexity - Automatic Pattern Discovery in Spatio-Temporal Data

## 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

 1 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, …, K of PLC i. base logarithm base for complexity (entropy). Default: base = 2 (thus 'bits'). type estimation type for the probabilities: "MLE"

states2probs