Description Usage Arguments Value See Also Examples

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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.