# V2

##### distance between observation points

distance between observation points

- Keywords
- array

##### Usage

`V2(x, other = NULL, phi)`

##### Arguments

- x
Matrix whose rows are observation points

- other
Second matrix; if

`NULL`

, use x- phi
Hyperparameters

##### Details

This function returns the variance matrix of observations of the real process \(z\) at points \(D_2=\left\{x_1,\ldots,x_n\right\}\).

It appears in the lower right corner of the variance matrix on the
bottom of page 1 of the supplement, calculated by function
`Vd()`

.

It is also used in functions `Cov.eqn9.supp()`

and
`V.fun()`

.

##### References

M. C. Kennedy and A. O'Hagan 2001.

*Bayesian calibration of computer models*. Journal of the Royal Statistical Society B, 63(3) pp425-464M. 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.psR. K. S. Hankin 2005.

*Introducing BACCO, an R bundle for Bayesian analysis of computer code output*, Journal of Statistical Software, 14(16)

##### See Also

##### Examples

```
# NOT RUN {
data(toys)
V2(D2.toy,other=NULL, phi=phi.toy)
V2(D2.toy,x.vec,phi=phi.toy)
# }
```

*Documentation reproduced from package calibrator, version 1.2-8, License: GPL-2*