Learn R Programming

VBmix (version 0.3.2)

circlegen:

Description

generate data elements along a 2D circle with additional noise.

Usage

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

Arguments

npts
number of elements to generate.
radius
radius of the circle.
noise
determines the width of the circle stroke.

Value

matrix of sampled row-elements.

Examples

Run this code
temp <- circlegen()

Run the code above in your browser using DataLab