calibrator (version 1.2-8)

V1: Distance matrix

Description

Gives the distance matrix between rows of D1 and D1 (or, if supplied, another matrix)

Usage

V1(D1,  other = NULL, phi)

Arguments

D1

Matrix of code run points

other

Second matrix to compute distances to. If NULL, use the first supplied matrix

phi

Hyperparameters

Value

Returns a matrix

References

  • M. C. Kennedy and A. O'Hagan 2001. Bayesian calibration of computer models. Journal of the Royal Statistical Society B, 63(3) pp425-464

  • M. C. Kennedy and A. O'Hagan 2001. Supplementary details on Bayesian calibration of computer models, Internal report, University of Sheffield. Available at http://www.tonyohagan.co.uk/academic/ps/calsup.ps

  • R. K. S. Hankin 2005. Introducing BACCO, an R bundle for Bayesian analysis of computer code output, Journal of Statistical Software, 14(16)

See Also

V2

Examples

Run this code
# NOT RUN {
data(toys)
V1(D1=D1.toy,  other=NULL,   phi=phi.toy)
V1(D1=D1.toy[1,,drop=FALSE], other=NULL, phi=phi.toy)

V1(D1=D1.toy,  other=D1.toy[1:3,],   phi=phi.toy)

V1(D1=D1.toy,other=D1.fun(x.star=x.vec,t.vec=theta.toy),phi=phi.toy)

# }

Run the code above in your browser using DataLab