This function generates S-curve data with a hole by filtering out samples that
are not close to a specified anchor point.
Usage
gen_scurvehole(n = 500, r_hole = 0.5)
Value
A data containing the generated S-curve data with a hole.
Arguments
n
A numeric value (default: 500) representing the sample size.
r_hole
A numeric value (default: 0.5) representing the radius of the hole.
References
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.