gen_scurvehole | R Documentation |
This function generates S-curve data with a hole by filtering out samples that are not close to a specified anchor point.
gen_scurvehole(n = 500, p = 4)
n |
A numeric value (default: 500) representing the sample size. |
p |
A numeric value (default: 4) representing the number of dimensions. |
A data containing the generated S-curve data with a hole.
Wang, Y., Huang, H., Rudin, C., & Shaposhnik, Y. (2021). Understanding how dimension reduction tools work: an empirical approach to deciphering t-SNE, UMAP, TriMAP, and PaCMAP for data visualization. J Mach. Learn. Res, 22, 1-73.
the PaCMAP homepage.
set.seed(20240412)
scurvehole <- gen_scurvehole(n = 500, p = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.