ball_unif | R Documentation |
ball_unif
generate 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. Default value is TRUE. |
ball_unif
generate 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. "Data twinning." Statistical Analysis and Data Mining: The ASA Data Science Journal 15.5 (2022): 598-610.
Wang, Shangkun, Adam P. Generale, Surya R. Kalidindi, and V. Roshan Joseph. "Sequential Designs for Filling Output Spaces." Technometrics, to appear (2023).
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.