pipeData: Generating a sample of points on a pipe

View source: R/samplingFunctions.R

pipeDataR 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)

spinebil documentation built on Aug. 8, 2025, 6:16 p.m.