rbox: Generate various point distributions

View source: R/rbox.R

rboxR Documentation

Generate various point distributions

Description

Default is corners of a hypercube.

Usage

rbox(n = 3000, D = 3, B = 0.5, C = NA)

Arguments

n

number of random points in hypercube

D

number of dimensions of hypercube

B

bounding box coordinate - faces will be -B and B from origin

C

add a unit hypercube to the output - faces will be -C and C from origin

Value

Matrix of points

Author(s)

David Sterratt


geometry documentation built on Sept. 11, 2024, 9 p.m.