Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

multem

The multivariate emulator


Description

A multivariate generalization of the interpolant() function of the emulator package

Usage

multem(x, expt, hp,  LoF = NULL, give=FALSE, Sigmainv=NULL, ...)

Arguments

x

Points at which the function is to be estimated in the form of an object of class mdm

expt

Points at which the code has been evaluated (x_known), in the form of an object of class experiment

hp

hyperparameter object, of class mhp

give

Boolean, with TRUE meaning to return extra information and default FALSE meaning to return just the mean

Sigmainv

The inverse of the variance matrix of the observations with default NULL meaning to calculate using var.matrix()

LoF

List of regressor functions

...

Further arguments passed to var.matrix()

Details

This is the central function of the package. It is the analogue of interpolant() of the emulator package.

Author(s)

Robin K. S. Hankin

See Also

Examples

data(mtoys)
d <- obs_maker(toy_mm, toy_mhp, toy_LoF, toy_beta)
ex <- experiment(toy_mm , d)

Sigmainv <- solve(var.matrix(toy_mm,hp=toy_mhp))
multem(x=toy_mm2, expt=ex, hp=toy_mhp,LoF=toy_LoF, give=TRUE)

multivator

A Multivariate Emulator

v1.1-10
GPL-2
Authors
Robin K. S. Hankin [aut, cre] (<https://orcid.org/0000-0001-5982-0415>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.