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 |

`LCs` |
(optional) a list of |

1 2 3 4 5 6 7 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.