generate_data: Generate data

Description Usage Arguments Value

Description

Generate randomised test data. The data is uniformly distributed within a given radius.

Usage

1
generate_data(n = 100, x = 0.5, y = 0.5, r = 0.1)

Arguments

n

Number of points.

x

X position of center.

y

Y position of center

r

Radius of the circle in which the data lies.

Value

A data.frame of x/y coordinates.


karpfen/perturbation documentation built on May 20, 2019, 9:38 a.m.