V1                package:calibrator                R Documentation

_D_i_s_t_a_n_c_e _m_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     V1(D1,  other = NULL, phi)

_A_r_g_u_m_e_n_t_s:

      D1: Matrix of code run points

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

     phi: Hyperparameters

_V_a_l_u_e:

     Returns a matrix

_A_u_t_h_o_r(_s):

     Robin K. S. Hankin

_R_e_f_e_r_e_n_c_e_s:

        *  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 <URL:
           http://www.shef.ac.uk/~st1ao/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)

_S_e_e _A_l_s_o:

     'V2'

_E_x_a_m_p_l_e_s:

     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)

