Learn R Programming

VBmix (version 0.3.2)

semispheregen:

Description

sample data points along a semi-sphere.

Usage

semispheregen(npts = 200, radius = 10, noise = 1)

Arguments

npts
number of elements to be sampled.
radius
radius of the sphere.
noise
additive gaussian white noise to the sampled points.

Value

matrix of row-elements with the sampled elements.

Examples

Run this code
temp <- semispheregen()

Run the code above in your browser using DataLab