triperplines              package:klaR              R Documentation

_B_a_r_y_c_e_n_t_r_i_c _p_l_o_t_s

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

     Function to add a point and the corresponding perpendicular lines
     to all three  sides to an existing (barycentric) plot.

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

     triperplines(x, y = NULL, z = NULL, lcol = "red", pch = 17, ...)

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

       x: fraction of first component OR 3-element vector (for all
          three components, omitting 'y' and 'z').

       y: (optional) fraction of second component.

       z: (optional) fraction of third component.

    lcol: line color

     pch: plotting character. 'pch = 0' for no point

     ...: Further graphical parameters (see 'points', 'lines' and
          'par').

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

     Adds a (single!) point and lines to an existing plot (generated by
     'triplot'). The lines originate from the point and run
     (perpendicular) towards all three sides.  The lengths (and
     proportions) of these lines are identical to those of 'x', 'y' and
     'z'.

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

     a 2-column-matrix containing plot coordinates.

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

     Christian Rver, roever@statistik.uni-dortmund.de

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

     'triplot', 'tripoints', 'trilines', 'tritrafo'

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

     triplot()  # empty plot 
     triperplines(1/2, 1/3, 1/6)

