ggplot.default            package:ggplot2            R Documentation

_C_r_e_a_t_e _a _n_e_w _p_l_o_t

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

     Create a new ggplot plot

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

     ggplot.default(data = NULL, mapping=aes(), ...)

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

    data: default data frame

 mapping: default list of aesthetic mappings (these can be colour,
          size, shape, line type - see individual geom functions for
          more details)

     ...: 

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

     This function creates the basic ggplot object which you can then
     furnish with graphical objects.  Here you will set up the default
     data frame, default aesthetics and the formula that will determine
     how the panels are broken apart.  See 'reshape' for more details
     on specifying the facetting formula and margin arguments. Note
     that ggplot creates a plot object without a "plot": you need to
     grobs (points, lines, bars, etc.) to create something that you can
     see.

     To get started, read the introductory vignette:
     'vignette("introduction", "ggplot")'

     ggplot is different from base and lattice graphics in how you
     build up the plot. With ggplot you build up the plot object
     (rather than the plot on the screen as in base graphics, or all at
     once as in lattice graphics.)

     Each of the geom and scale functions adds the geom to the plot and
     returns the modified plot object.  This lets you quickly
     experiment with different versions of the plot, using different
     geoms or scales.  You can see how this works in the examples

     You can also use 'summary' to give a quick description of a plot.

     If you want to change the background colour, how the panel strips
     are displayed, or any other default graphical option, see 'ggopt'.

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

     Hadley Wickham <h.wickham@gmail.com>

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

     <URL: http://had.co.nz/ggplot>, \'\stamp', \'\reshape', \'\ggopt',
     \'vignette("introduction", "ggplot")'

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

