View source: R/sampling_functions.R
| pipe_data | R Documentation |
Points are drawn from a uniform distribution between -1 and 1, the pipe structure is generated by rejecting points if they are not on a circle with radius 1 and thickness t in the last two parameters.
pipe_data(n, p, t = 0.1)
n |
number of sample points to generate |
p |
sample dimensionality |
t |
thickness of circle, default=0.1 |
sample points in tibble format
pipe_data(100, 4)
pipe_data(100, 2, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.