scshape                package:ggplot                R Documentation

_S_c_a_l_e: _s_h_a_p_e

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

     Create a scale for categorical shapes.

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

     scshape(plot = .PLOT, solid=TRUE)

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

    plot: plot to add scale to

   solid: should points be solid or hollow?

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

     This scale is automatically added when you use the shape aesthetic
     mapping.  By using this scale you can explicitly decide whether
     the points used should be hollow or solid.

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

     Hadley Wickham <h.wickham@gmail.com>

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

     'scale_categorical', 'map_shape'

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

     p <- ggplot(mtcars, aes=list(x=mpg, y=wt, shape=cyl))
     ggpoint(p)
     ggpoint(scshape(p, FALSE))

