rgp (version 0.4-1)

gridDesign: Create a regular grid design matrix

Description

Returns a n = length(points)**dimension times m = dimension matrix containing the coordinates of sample points from a hypervolume of the given dimension. Points are sampled in a grid defined by the vector points.

Usage

gridDesign(dimension, points = seq(from = 0, to = 1, length.out = 10))

Arguments

dimension
The number of columns in the design matrix to create.
points
A vector of points to sample at in each dimension.

Value

The regular grid design matrix.