dmt                package:LearnBayes                R Documentation

_P_r_o_b_a_b_i_l_i_t_y _d_e_n_s_i_t_y _f_u_n_c_t_i_o_n _f_o_r _m_u_l_t_i_v_a_r_i_a_t_e _t

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

     Computes the density of a multivariate t distribution

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

     dmt(x, mean = rep(0, d), S, df = Inf, log=FALSE)

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

       x: vector of length d or matrix with d columns, giving the
          coordinates of points where density is to evaluated

    mean: numeric vector giving the location parameter of the
          distribution

       S: a positive definite matrix representing the scale matrix of
          the distribution

      df: degrees of freedom

     log: a logical value; if TRUE, the logarithm of the density is to
          be computed

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

     vector of density values

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

     Jim Albert

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

     mu <- c(1,12,2)
     Sigma <- matrix(c(1,2,0,2,5,0.5,0,0.5,3), 3, 3)
     df <- 4
     x <- c(2,14,0)
     f <- dmt(x, mu, Sigma, df)

