extractHDBSCAN: Extract HDBSCAN info

View source: R/hdbscan.R

extractHDBSCANR Documentation

Extract HDBSCAN info

Description

Run hdbscan on a distance matrix and gather some information.

Usage

extractHDBSCAN(dstmtx, minPts = 8, includePlot = FALSE)

Arguments

dstmtx

Distance matrix

minPts

Minimum points for hdbscan

includePlot

Whether too include the plot (requires cowplot.)

Value

List: the df element is a tibble with information per token:

  • _id: comes from the rownames of dstmtx

  • cluster: gives the clustering of the elements

  • membprob: indicates membership probabilities

  • eps: returns the epsilon value

If includePlot is TRUE, a grob of the plot is included under hplot.


montesmariana/semcloud documentation built on April 15, 2022, 6:57 a.m.