calc_aesthetics           package:ggplot2           R Documentation

_B_u_i_l_d _d_a_t_a _f_r_a_m_e

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

     Build data frome for a plot with given data and ... (dots)
     arguments

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

     calc_aesthetics(plot, data = plot$data, aesthetics)

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

    plot: plot object

    data: data frame to use

aesthetics: extra arguments supplied by user that should be used first

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

     Depending on the layer, we need to stitch together a data frame
     using the defaults from plot$defaults and overrides for a given
     geom.

     Arguments in dots are evaluated in the context of \'data' so that
     column names can easily be references.

     Also makes sure that it contains all the columns required to
     correctly place the output into the row+column structure defined
     by the formula, by using \'\expand.grid.df' to add in extra
     columns if needed.

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

     Hadley Wickham <h.wickham@gmail.com>

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

