Ensures a proper cluster assignments factor vector
Generates the requested number of cluster names. Uses the vector returned by
getOption("latrend.clusterNames"), which returns the alphabet by default.
1 2 3 4 5
The unprocessed trajectory cluster assignment vector.
The number of clusters.
latrend.clusterNames option may also return a function with signature
(n), returning a vector of names of the correct length.
Factor cluster assignments.
A cluster assignments index vector of type
character vector length
n with the cluster names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.