O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding output options

The following output options can be added:

  • Type of output document to build: 
    • output:html_document
    • output:pdf_document
    • output:beamer_presentation
    • output:ioslides_presentation
    • output:word_document
  • Number the section headings. If the sections are not named, then they are incrementally numbered:
    • number_sections = TRUE
  • The fig_width and fig_height options are the default width and height in inches:
    • figures: fig_width=7, fig_height=5
  • Theme: Visual theme; pass null to use custom CSS
  • CSS: Include filename

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required