obs_maker | R Documentation |
A function to create observations using known parameters and hyperparameters
obs_maker(x, hp, LoF, beta, Sigma=NULL, ...)
x |
Object of class |
hp |
Object of class |
LoF |
List of functions |
beta |
Vector of regression coefficients |
Sigma |
Variance matrix, with default |
... |
Further arguments passed to |
Uses the mvtnorm
package to generate observations directly from
the parameters and hyperparameters as a Gaussian process.
Returns a (named) vector of observations. Note that the observations may have different units (eg temperature in Kelvin, rainfall in millimeters per year).
Robin K. S. Hankin
toy_mm_maker
data(mtoys)
d <- obs_maker(toy_mm , toy_mhp, toy_LoF, toy_beta)
d <- obs_maker(toy_mm_maker(6,7,8) , toy_mhp, toy_LoF, toy_beta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.