arrow                  package:grid                  R Documentation

_D_e_s_c_r_i_b_e _a_r_r_o_w_s _t_o _a_d_d _t_o _a _l_i_n_e.

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

     Produces a description of what arrows to add to a line. The result
     can be passed to a function that draws a line, e.g., 'grid.lines'.

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

     arrow(angle = 30, length = unit(0.25, "inches"),
           ends = "last", type = "open")

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

   angle: The angle of the arrow head in degrees (smaller numbers
          produce narrower, pointier arrows).  Essentially describes
          the width of the arrow head.

  length: A unit specifying the length of the arrow head (from tip to
          base).

    ends: One of '"last"', '"first"', or '"both"', indicating which
          ends of the line to draw arrow heads.

    type: One of '"open"' or '"closed"' indicating whether the arrow
          head should be a closed triangle.

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

     arrow()

