Learn R Programming

gmum.r (version 0.2.1)

gng.preset.sphere: gng.preset.sphere

Description

Generate sample sphere dataset

Usage

gng.preset.sphere(N, r = 0.5, center = c(0.5, 0.5, 0.5))

Arguments

N
Number of points
r
Radius of the sphere
center
Center of the sphere

Details

Sphere preset dataset

Examples

Run this code
X <- gng.preset.sphere(100)
gng <- GNG(X)

Run the code above in your browser using DataLab