bdm.labels | R Documentation |
Given that clusters are computed at grid-cell level, this function returns the clustering label for each data-point.
bdm.labels(bdm, merged = F, layer = 1)
bdm |
A bdm data mapping instance. |
merged |
Default value is merged = FALSE. If merged = TRUE and the clustering has been merged, the labels are the ids of the clusters after merging. If merged = FALSE or the clustering has not been merged, the labels indicate the ids of to the top-level clustering. |
layer |
The ptSNE output layer. Default value is layer = 1. |
A vector of data-point clustering labels.
bdm.example()
m.labels <- bdm.labels(ex$map)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.