map_colour_rgb            package:ggplot            R Documentation

_A_e_s_t_h_e_t_i_c _m_a_p_p_i_n_g: _r_g_b _c_o_m_p_o_n_e_n_t_s _o_f _c_o_l_o_u_r

_D_e_s_c_r_i_p_t_i_o_n:

     Map variables to red, green or blue components.

_U_s_a_g_e:

     map_colour_rgb(r=0, g=0, b=0, a=1, r.to = c(0,1), g.to=c(0,1), b.to=c(0,1), a.to=c(0,1), r.from = range(r, na.rm=TRUE), g.from = range(g, na.rm=TRUE), b.from = range(b, na.rm=TRUE), a.from = range(a, na.rm=TRUE))

_A_r_g_u_m_e_n_t_s:

       r: red

       g: green

       b: blue

       a: alpha

    r.to: red to

    g.to: green to

    b.to: blue to

    a.to: alpha to

  r.from: 

  g.from: 

  b.from: 

  a.from: 

_D_e_t_a_i_l_s:

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

