setdata                package:ggplot                R Documentation

_S_e_t _d_e_f_a_u_l_t _d_a_t_a_s_e_t _f_o_r _a _p_l_o_t

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

     Set the default data set for a plot object

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

     setdata(p = .PLOT, data)

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

       p: plot object, if not specified will use current plot

    data: new data set

_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:

