Description Usage Arguments Examples
View source: R/initialize_states.R
Initializes the state/cluster assignment either uniformly
at random from K classes, or using initial
kmeans++ (kmeanspp
) clustering (in
several variations on PLCs and/or FLCs).
1 2 3 |
num.states |
number of states |
num.samples |
number of samples. |
method |
how to choose the labels: either uniformly
at random from \lbrace 1, …, K \rbrace or
using K-means on PLCs and FLCs or a combination.
Default: |
LCs |
(optional) a list of |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.