data.gen3d: A data generator

Description Usage Arguments Value Examples

Description

The purpose of this function is to generate data, which contains two input variables and one output variable, automatically for all values on a plane.

Usage

1
data.gen3d(range.input, num.grid = 10)

Arguments

range.input

the range of the input variables, as a matrix (2 \times n).

num.grid

a number representing the size of the grid on the plane.

Value

the data

Examples

1
2
3
range.input <- matrix(c(0, 100, 0, 100), nrow=2)
num.grid <- 10
data.test <- data.gen3d(range.input, num.grid)


Search within the frbs package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.