quadtrafo                package:klaR                R Documentation

_T_r_a_n_s_f_o_r_m_i_n_g _o_f _4 _d_i_m_e_n_s_i_o_n_a_l _v_a_l_u_e_s _i_n _a _b_a_r_y_c_e_n_t_r_i_c _c_o_o_r_d_i_n_a_t_e _s_y_s_t_e_m.

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

     Transforming of 4 dimensional values in a barycentric coordinate
     system.

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

     quadtrafo(e, f = NULL, g = NULL, h = NULL)
             
     quadlines(e, f = NULL, g = NULL, h = NULL, sp = s3d, ...)

     quadpoints(e, f = NULL, g = NULL, h = NULL, sp = s3d, ...)

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

       e: either a matrix with 4 columns represanting the membership
          values or a  vector with the membership values of the first
          class

       f: vector with the membership values of the second class

       g: vector with the membership values of the third class

       h: vector with the membership values of the forth class

      sp: 'scatterplot3d' object to which 'points' or 'lines' should be
          plotted

     ...: further arguments passed to the underlyind 'plot' functions

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

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

     For 'quadtrafo' the 3 dimensional values in the barycentrix
     coordinate system.

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

     Karsten Luebke

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

     'triplot', 'quadplot'

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

     library(MASS)
     data(B3)
     posterior <- predict(lda(PHASEN ~ ., data = B3))$post
     quadtrafo(posterior)

