Convert states to vector of probabilities of any given state
Description
Converts states (either as a size N array of labels or an N \times K weight matrix) into N probabilities per state.
If states
is a matrix  representing the state
space in the dimensions of the original data  then the
probabilities will be formatted automatically to an array
of the same shape and dimension.
Usage
1  states2probs(weight.matrix = NULL, states = NULL, type = "MLE")

Arguments
states 
array of size N with entry i being the label k = 1, …, K of PLC i 
weight.matrix 
N \times K weight matrix 
type 
estimation type for the probabilities:

See Also
weight_matrix2states
Examples
1 2 3 4 5 6 
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.