pipeData {spinebil}R Documentation

Generating a sample of points on a pipe

Description

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.

Usage

pipeData(n, p, t = 0.1)

Arguments

n

sample dimensionality

p

number of sample points to generate

t

thickness of circle, default=0.1

Value

sample points in tibble format

Examples

pipeData(4, 100)
pipeData(2, 100, 0.5)

[Package spinebil version 0.1.6 Index]