Afun {approximator} | R Documentation |
Matrix of correlations between two sets of points
Description
Returns the matrix of correlations of code output at each level evaluated at points on the design matrix.
Usage
Afun(level, Di, Dj, hpa)
Arguments
level |
The level. This enters via the correlation scales |
Di |
First set of points |
Dj |
Second set of points |
hpa |
Hyperparameter object |
Details
This is essentially a convenient wrapper for function
corr.matrix
. It is not really intended for the end user.
Author(s)
Robin K. S. Hankin
References
M. C. Kennedy and A. O'Hagan 2000. “Predicting the output from a complex computer code when fast approximations are available” Biometrika, 87(1): pp1-13
See Also
Examples
data(toyapps)
D2 <- D1.toy[subsets.toy[[2]],]
D3 <- D1.toy[subsets.toy[[3]],]
Afun(1,D2,D3,hpa.toy)
Afun(2,D2,D3,hpa.toy)
[Package approximator version 1.2-8 Index]