Description Usage Arguments Value

View source: R/3 optimization over the predicted surface.R

Compute the negative value of the predicted response at a given point. It serves as the objective function for the maximization problem over the original controllable factor space.

1 | ```
neg_prediction(x, model)
``` |

`x` |
A vector; the coordinates of a new site. |

`model` |
A km object; retruned by DiceKriging::km. |

The negative value of the predicted response at the given point.

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.