Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rbox

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

Mesh Generation and Surface Tessellation

v0.4.5
GPL (>= 3)
Authors
Jean-Romain Roussel [cph, ctb] (wrote tsearch function with QuadTrees), C. B. Barber [cph], Kai Habel [cph, aut], Raoul Grasman [cph, aut], Robert B. Gramacy [cph, aut], Pavlo Mozharovskyi [cph, aut], David C. Sterratt [cph, aut, cre] (<https://orcid.org/0000-0001-9092-9099>)
Initial release
2019-12-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.