Reshape or coerce an array of responses.
1  array_Grid(X, Y, dropCol = TRUE)

X 
An object with class 
Y 
A vector of length 
dropCol 
Logical. When 
An array with dimension c(nlevels(X), ncol(Y))
or
nlevels(X)
containing the elements of Y
in
correspondence with the levels of X
.
apply_Grid
to compute a vector of response for
a given function.
1 2 3  myGD < Grid(nlevels = c(20, 25))
F < apply_Grid(myGD, branin)
aF < array_Grid(X = myGD, Y = F)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.