tri                 package:cwhtool                 R Documentation

_T_e_r_n_a_r_y _o_r _T_r_i_a_n_g_u_l_a_r _P_l_o_t_s.

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

     'plotCI' plots in a triangle the values of three variables. Useful
     for mixtures  (chemistry etc.).

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

     tri(a, f, m, symb=2, grid=FALSE, ...)

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

       a: Vector of first variable.

       f: Vector of second variable.

       m: Vector of third variable.

    symb: Symbol to be plotted

    grid: Plot the grid: TRUE or FALSE

     ...: Additional parameters for 'plot'

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

     The function 'tri' is called for its side effect to produce a
     plot. code{trigrid} is internal to 'tri'.

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

     Colin Farrow Computing Service, University of Glasgow, Glasgow G12
     8QQ Tel: 0141 330 4862, c.farrow@compserv.gla.ac.uk

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

     # some random data in three variables
     c1 <- runif(5, 10, 20)
     c2 <- runif(5, 1, 5)
     c3 <- runif(5, 15, 25)
     # basic plot
     tri(c1,c2,c3)
     # plot with different symbols and a grid
     tri(c1,c2,c3, symb=7, grid=TRUE)

