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:

