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:

