Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <code>ggplot2</code> package does not contain much reference information-- this is probably because Hadley has put a lot of work into developing and polishing the package, creating a website full of examples and writing an excellent book that describes the system in detail.</p> <p>The first place I would look for answers would be the <code>ggplot2</code> website:</p> <p><a href="http://docs.ggplot2.org/" rel="nofollow noreferrer">http://docs.ggplot2.org/</a></p> <p>However, since <code>opts()</code> is not really a geom, stat or scale there are no examples that focus specifically on it. The next place to look would be the section of the website that contains material from the book-- including source code for examples:</p> <p><a href="http://ggplot2.org/book/" rel="nofollow noreferrer">http://ggplot2.org/book/</a></p> <p>The example code for the chapter "Polishing your plots for publication" contains some well commented examples of using <code>set_theme()</code> and <code>opts()</code> to alter plot appearance.</p> <p>The ultimate source for information is of course the book it's self. If you find <code>ggplot2</code> has simplified and streamlined your workflow for producing statistical graphics, buying a copy of the book is a great way to say "thank you" and support the further development of the package.</p> <blockquote> <p><strong>Update</strong></p> </blockquote> <p>After some further investigation, you may be able to find a relatively complete list of options by listing out the source of one of the "theme" functions such as <code>theme_bw</code>. The source doesn't provide a description of the possible <code>key=value</code> pairs, but it does at least show most of the <code>key</code> names that have an effect when set via <code>opts()</code>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload