Description Usage Arguments Value See Also Examples
Get an umapscan cluster data
1 | clust_get_data(us, id)
|
us |
umapscan object |
id |
cluster id to retrieve |
1 data frame with the data
and data_sup
variables of the cluster observations
clust_compute()
, clust_describe()
, clust_rename()
1 2 3 4 5 6 | library(dplyr)
iris_num <- iris %>% select_if(is.numeric)
iris_sup <- iris %>% select(Species)
us <- new_umapscan(iris_num, data_sup = iris_sup, n_neighbors = 25, min_dist = 0.1, seed = 1337)
us <- clust_compute(us, minPts = 3, eps = 0.5)
clust_get_data(us, "1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.