Description Usage Arguments Value Examples
Approximate the marginal densities of all elements of the vector 'theta'.
1 | doit_marginals(doit, theta_eval = NULL)
|
doit |
An object of class 'doit', see function 'doit_fit'. |
theta_eval |
Evaluation points at which to approximate the marginal distribution. If 'NULL' (the default) the original design points are used. |
A data frame of the provided evaluation points and the corresponding DoIt approximation of the marginal density.
1 2 3 4 | design = data.frame(x=rnorm(10), y=rnorm(10))
design$f = with(design, exp(-0.5*(x+y)^2))
fit = doit_fit(design)
mar = doit_marginals(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.