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.
1  states2probs(weight.matrix = NULL, states = NULL, type = "MLE")

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:

1 2 3 4 5 6 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.