tee                package:calibrator                R Documentation

_t_e_e: _d_i_s_t_a_n_c_e_s _t_o _a _p_o_i_n_t

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

     Returns a vector whose elements are the "distances" from a point
     to the observations and code run points.

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

     tee(x, theta, D1, D2, phi)

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

       x: Point from which distances are calculated

   theta: Value of parameters

      D1: Matrix of code run points

      D2: Matrix of observation points

     phi: Hyperparameters

_D_e_t_a_i_l_s:

     This function returns the column vector just below equation 10 of
     KOH2001 (NB: not equation 10 of the supplement!)

_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:

     'Ez.eqn9.supp'

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

     data(toys)
     tee(x=x.toy, theta=theta.toy, D1=D1.toy, D2=D2.toy,
     phi=phi.toy)

