The cut-and-paste approach to writing statistical reports is not only tedious and laborious, but also can be harmful to scientific research, because it is inconvenient to reproduce the results. Dynamic Documents with R and knitr introduces a new approach via dynamic documents, i.e. integrating computing directly with reporting. A comprehensive guide to the R package knitr, the book covers examples, document editors, basic usage, detailed explanations of a wide range of options, tricks and solutions, extensions, and complete applications of this package.
The book provides an overview of dynamic documents, introducing the idea of literate programming. It then explains the importance of dynamic documents to scientific research and its impact on reproducible research. Building on this, the author covers basic concepts, common text editors that support knitr, and the syntax for different document formats such as LaTeX, HTML, and Markdown before going on to discuss core functionality, how to control text and graphics output, caching mechanisms that can reduce computation time, and reuse of source code. He then explores advanced topics such as chunk hooks, integrating other languages such as Python and awk into one report in the knitr framework, and useful tricks that make it easier to write documents with knitr. Discussions of how to publish reports in a variety of formats, applications, and other tools complete the coverage.
Suitable for both beginners and advanced users, this book shows you how to write reports in simple languages such as Markdown. The reports range from homework, projects, exams, books, blogs, and web pages to any documents related to statistical graphics, computing, and data analysis. While familiarity with LaTeX and HTML is helpful, the book requires no prior experience with advanced programs or languages. For beginners, the text provides enough features to get started on basic applications. For power users, the last several chapters enable an understanding of the extensibility of the knitr package.
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
"... a great source for beginners and advanced users of knitr alike. The author writes with much wit and charm. ... a valuable resource for everybody who is interested in reproducible research in general and who wants to easily generate reproducible reports in particular, i.e., a must read for every applied statistician! Learning knitr and getting some tips and tricks is, most of the time, easy and fun with this book."
―ISCB News, 59, June 2015
"After reading Dynamic Documents with R and knitr, ... I became a fan of this package and its flexibility. The book is written in a conversational style that gives a clear and practical introduction to knitr for both beginners and advanced users. ... Compared with Sweave, knitr is more powerful. ... Furthermore, knitr is more flexible than Sweave. ... Most impressively, caching can be incorporated in a simple way by knitr. ... The book is readable with a clear overall structure. ... this book allows us to enhance our knowledge of knitr’s usage and quickly find what we want."
―The American Statistician, February 2015
"The book provides a systematic description of the package [knitr], including its concepts, design principles, and philosophy. It also has many examples, well-thought out advice, and useful tips and tricks. ... The book is well written. It has introductory material useful for novices as well as advice for more seasoned users, all explained in conversational English without unnecessary technical jargon. ... While I have been using Sweave and then knitr for several years, I still learned many new useful things from the book. ... the book deserves a place on the bookshelves of both new and experienced R and TeX users."
―Boris Veytsman, TUGboat, Volume 35, 2014
"If you are looking to learn how to use knitr, this book is for you. There are a limited number of resources for learning knitr because the package is relatively new and the documentation produced by Xie is so good. ... I think this book will continue to be the best resource about knitr ...easy to understand ... this is a great read and handy desk reference for the regular knitr user."
―Journal of Statistical Software, January 2014
"Three recent books have significantly influenced how I use R in reproducible work: Dynamic Documents with R and knitr by Yihui Xie, Reproducible Research with R and RStudio by Christopher Gandrud, and Implementing Reproducible Research edited by Victoria Stodden, Friedrich Leisch, and Roger D. Peng ... I recommend all three books to R users at any level. There really is something here for everyone."
―Richard Layton, PhD, PE, Rose-Hulman Institute of Technology, Terre Haute, Indiana, USA
Introduction
Reproducible Research
Literature
Good and Bad Practices
Barriers
A First Look
Setup
Minimal Examples
Quick Reporting
Extracting R Code
Editors
RStudio
LYX
Emacs/ESS
Other Editors
Document Formats
Input Syntax
Document Formats
Output Renderers
R Scripts
Text Output
Inline Output
Chunk Output
Tables
Themes
Graphics
Graphical Devices
Plot Recording
Plot Rearrangement
Plot Size in Output
Extra Output Options
The tikz Device
Figure Environment
Figure Path
Cache
Implementation
Write Cache
When to Update Cache
Side Effects
Chunk Dependencies
Cross Reference 79
Chunk Reference
Code Externalization
Child Documents
Hooks
Chunk Hooks
Examples
Language Engines
Design
Languages and Tools
Tricks and Solutions
Chunk Options
Package Options
Typesetting
Utilities
Debugging
Multilingual Support
Publishing Reports
RStudio
Pandoc
HTML5 Slides
Jekyll
WordPress
Applications
Homework
Web Site and Blogging
Package Vignettes
Books
Other Tools
Sweave
Other R Packages
Python Packages
More Tools
Internals
Documentation
Closures
Implementation
A.4 Syntax
Bibliography
Index
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
GRATIS per la spedizione in U.S.A.
Destinazione, tempi e costiDa: Your Online Bookstore, Houston, TX, U.S.A.
paperback. Condizione: Fair. Codice articolo 1482203537-4-31658879
Quantità: 1 disponibili
Da: Better World Books, Mishawaka, IN, U.S.A.
Condizione: Good. Used book that is in clean, average condition without any missing pages. Codice articolo 18508992-6
Quantità: 1 disponibili
Da: ThriftBooks-Dallas, Dallas, TX, U.S.A.
Paperback. Condizione: As New. No Jacket. Pages are clean and are not marred by notes or folds of any kind. ~ ThriftBooks: Read More, Spend Less 0.85. Codice articolo G1482203537I2N00
Quantità: 1 disponibili
Da: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condizione: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 0.85. Codice articolo G1482203537I4N00
Quantità: 1 disponibili
Da: Better World Books Ltd, Dunfermline, Regno Unito
Condizione: Very Good. Ships from the UK. Former library book; may include library markings. Used book that is in excellent condition. May show signs of wear or have minor defects. Codice articolo 51005199-20
Quantità: 1 disponibili
Da: Anybook.com, Lincoln, Regno Unito
Condizione: Good. This is an ex-library book and may have the usual library/used-book markings inside.This book has soft covers. Clean from markings. In good all round condition. Please note the Image in this listing is a stock photo and may not match the covers of the actual item,450grams, ISBN:9781482203530. Codice articolo 9932212
Quantità: 1 disponibili
Da: medimops, Berlin, Germania
Condizione: good. Befriedigend/Good: Durchschnittlich erhaltenes Buch bzw. Schutzumschlag mit Gebrauchsspuren, aber vollständigen Seiten. / Describes the average WORN book or dust jacket that has all the pages present. Codice articolo M01482203537-G
Quantità: 1 disponibili
Da: Buchpark, Trebbin, Germania
Condizione: Sehr gut. Zustand: Sehr gut | Sprache: Englisch | Produktart: Bücher. Codice articolo 24192235/202
Quantità: 3 disponibili