rbox {geometry}R 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


[Package geometry version 0.4.7 Index]