cube.solid.random {geozoo}R Documentation

Solid Cube

Description

A function to generate a solid cube with random points.

Usage

cube.solid.random(p, n = 850 * 2^p)

Arguments

p dimension of object
n number of points in object

Value

points location of points
edges edges of the object

Author(s)

Barret Schloerke

References

http://streaming.stat.iastate.edu/~dicook/geometric-data/cube/

Examples

## Generates a solid cube with random points
cube.solid.random(p = 3,)

## Through rggobi
ggobi(cube.solid.random(p = 3,))

[Package geozoo version 0.4 Index]