codebook.Rd
A codebook contains the permutation distribution of a time series.
codebook(x, m = 3, t = 1, use.fast=TRUE, normalized = TRUE, codeword_func = NULL)
a vector ot a time series
The embedding dimension.
Time-delay of the embedding.
Use a fast C-implementation if possible.
Normalize codebook such that it is a probability distribution.
Function to compute codewords. If NULL, the default internal function codebook is used.
The length of a codebook is the factorial of the embedding dimension. The elements of the codebook represent relative frequencies of codewords of size m.
Returns a vector of relative frequencies.
Brandmaier, A. M. (2015). pdc: An R Package for Complexity-Based Clustering of Time Series. Journal of Statistical Software, 67(5), 1--23.