fastfun-class | R Documentation |
Class for fast to compute objective.
## S4 method for signature 'fastfun'
predict(object, newdata, ...)
## S4 method for signature 'fastfun'
update(object, newX, newy, ...)
## S4 method for signature 'fastfun'
simulate(object, nsim, seed, newdata, cond, nugget.sim, checkNames, ...)
object |
|
newdata |
an optional vector, matrix or data frame containing the points where to perform predictions.
Default is |
... |
further arguments (not used) |
newX |
Matrix of the new location for the design |
newy |
Matrix of the responses at |
nsim |
an optional number specifying the number of response vectors to simulate. Default is 1. |
seed |
usual seed argument of method simulate. Not used. |
cond |
an optional boolean indicating the type of simulations. Not used. |
nugget.sim |
an optional number corresponding to a numerical nugget effect. Not used. |
checkNames |
an optional boolean. Not used. |
predict(fastfun)
: Predict(by evaluating fun
) the result at a new observation.
update(fastfun)
: Update the X
and y
slots with a new design and observation.
simulate(fastfun)
: Simulate responses values (for compatibility with methods using [DiceKriging::simulate()])
d
spatial dimension,
n
observations number,
X
the design of experiments, size n x d
,
y
the observations, size n x 1
,
fun
the evaluator function.
To create a fastfun
object, use fastfun
. See also this function for more details and examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.