ball_unif | R Documentation |
ball_unif
generates random or quasi-random uniform points in a p-dimensional ball.
ball_unif(cen, rad, n, rand = TRUE)
cen |
a vector specifying the center of the ball. |
rad |
radius of the ball. |
n |
number of points. |
rand |
whether to generate random or quasi random points. The default value is TRUE. |
ball_unif
generates random uniform points or quasi uniform points by twinning algorithm in a p-dimensional ball.
a matrix of the generated points.
Vakayil, Akhil, and V. Roshan Joseph. (2022). "Data twinning". Statistical Analysis and Data Mining: The ASA Data Science Journal, 15(5), 598-610.
Wang, Shangkun, Adam P. Generale, Surya R. Kalidindi, and V. Roshan Joseph. (2024), "Sequential designs for filling output spaces", Technometrics, 66, 65–76.
x = ball_unif(c(0,0), 1, 10, rand=FALSE)
plot(x, type='p')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.