Description Usage Arguments Details Value
API not yet stable! Arguments to this function will probably be updated to be much more generic
1 2 3 |
obs |
a data frame of observations with columns obs$x and obs$y |
X |
the desired points over which to predict |
pars |
a named numeric specifying "sigma_n" for the (additive) noise and "l" for the covariance length scale |
method |
select the method to use |
out_var |
optionally force kernlab method to generate Cf using a different variance than sigma_n^2 assumed in the fit |
fit |
logical, argument for the kernlab::gausspr method only |
... |
potential additional arguments, unimplemented |
so far treates the prior as mean 0 and covariance given by cov(X)
a list with items "mu", the expected Y values at X (mean of the posterior Gaussian process), Sigma, the covariance matrix for the posterior Gaussian process, and "loglik", the log likelihood of observering the given data under the process, marginalized over the prior
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.