Description Usage Arguments Value Examples
Update a 'doit' object by adding a new design point, but without changing the kernel width.
1 | doit_update(doit, design_new)
|
doit |
An object of class 'doit', see function 'doit_fit'. |
design_new |
The new design point. |
The updated 'doit' object.
1 2 3 4 5 6 | design = data.frame(x=rnorm(10), y=rnorm(10))
design$f = with(design, exp(-0.5*(x+y)^2))
fit = doit_fit(design)
theta_new = doit_propose_new(fit)
theta_new$f = with(theta_new, exp(-0.5*(x+y)^2))
fit = doit_update(fit, theta_new)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.