This function randomy initializes the segmentation.
The number of segments to start with (maximum number of segments there'll be in the end).
The number of observations to draw.
A vector of length n containing a factor with K levels (from 1 to K) drawn with replacement.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.