Advanced R helps you understand how R works at a fundamental level. It is designed for R programmers who want to deepen their understanding of the language, and programmers experienced in other languages who want to understand what makes R different and special.
This book will teach you the foundations of R; three fundamental programming paradigms (functional, object-oriented, and metaprogramming); and powerful techniques for debugging and optimising
your code.
By reading this book, you will learn:
The second edition is a comprehensive update:
kein Adobe
Account notwendig |
Schriftgröße ist
nicht veränderbar/einstellbar
Sie erhalten nach dem Kauf das Buch als ganz normale PDF-Datei, die Sie an jedem Gerät lesen können, das PDFs anzeigen kann. PDFs werden überall gleich angezeigt. Wir empfehlen dieses Format, da es ohne DRM (digitales Rechte-Management) auskommt.
Die hier angegebene Schätzung beruht auf dem durchschnittlichen Fördervolumen der letzten Monate und Jahre. Über die Vergabe und den Umfang der finanziellen Unterstützung entscheidet das Gremium von buch7.de.
Die genaue Höhe hängt von der aktuellen Geschäftsentwicklung ab. Natürlich wollen wir so viele Projekte wie möglich unterstützen.
Den tatsächlichen Umfang der Förderungen sowie die Empfänger sehen Sie auf unserer Startseite rechts oben, mehr Details finden Sie hier.
Weitere Informationen zu unserer Kostenstruktur finden Sie hier.
Hadley Wickham is Chief Scientist at RStudio, an Adjunct Professor at Stanford University and the University of Auckland, and a member of the R Foundation. He is the lead developer of the tidyverse, a collection of R packages, including ggplot2 and dplyr, designed to support data science. He is also the author of R for Data Science (with Garrett Grolemund), R Packages, and ggplot2: elegant graphics for data analysis.
Introduction
Why R?
Who should read this book
What you will get out of this book
What you will not learn
Meta-techniques
Recommended reading
Getting help
Acknowledgments
Conventions
Colophon
I Foundations
Introduction
Names and values
Introduction
Binding basics
Copy-on-modify
Object size
Modify-in-place
Unbinding and the garbage collector
Answers
Vectors
Introduction
Atomic vectors
Attributes
S atomic vectors
Lists
Data frames and tibbles
NULL
Answers
Subsetting
Introduction
Selecting multiple elements
Selecting a single element
Subsetting and assignment
Applications
Answers
Control flow
Introduction
Choices
Loops
Answers
Functions
Introduction
Function fundamentals
Function composition
Lexical scoping
Lazy evaluation
(dot-dot-dot)
Exiting a function
Function forms
Quiz answers
Environments
Introduction
Environment basics
Recursing over environments
Special environments
The call stack
As data structures
Quiz answers
Conditions
Introduction
Signalling conditions
Ignoring conditions
Handling conditions
Custom conditions
Applications
Quiz answers
II Functional programming
Introduction
Functionals
Introduction
My first functional: map()
Purrr style
Map variants
Reduce
Predicate functionals
Base functionals
Function factories
Introduction
Factory fundamentals
Graphical factories
Statistical factories
Function factories + functionals
Function operators
Introduction
Existing function operators
Case study: creating your own function operators
III Object oriented programming
Introduction
Base types
Introduction
Base vs OO objects
Base types
S3
Introduction
Basics
Classes
Generics and methods
Object styles
Inheritance
Dispatch details
R6
Introduction
Classes and methods
Controlling access
Reference semantics
Why R?
S4
Introduction
Basics
Classes
Generics and methods
Method dispatch
S and S
Trade-offs
Introduction
S vs S
R vs S
IV Metaprogramming
Introduction
Big picture
Introduction
Code is data
Code is a tree
Code can generate code
Evaluation runs code
Customising evaluation with functions
Customising evaluation with data
Quosures
Expressions
Introduction
Abstract syntax trees
Expressions
Parsing and grammar
Walking the AST with recursive functions
Specialised data structures
Quasiquotation
Introduction
Motivation
Quoting
Unquoting
Non-quoting
Dot-dot-dot ()
Case studies
History
Evaluation
Introduction
Evaluation basics
Quosures
Data masks
Using tidy evaluation
Base evaluation
Translating R code
Introduction
HTML
LaTeX
V Techniques
Introduction
Debugging
Introduction
Overall approach
Locate the error
The interactive debugger
Non-interactive debugging
Non-error failures
Measuring performance
Introduction
Profiling
Microbenchmarking
Improving performance
Introduction
Code organisation
Check for existing solutions
Do as little as possible
Vectorise
Avoid copies
Case study: t-test
Other techniques
Rewriting R code in C++
Introduction
Getting started with C++
Other classes
Missing values
The STL
Case studies
Using Rcpp in a package
Learning more
Acknowledgments
EAN / 13-stellige ISBN | 978-1351201308 |
10-stellige ISBN | 1351201301 |
Verlag | Taylor & Francis Ltd. |
Sprache | Englisch |
Auflage | 2. Auflage im Jahr 2019 |
Anmerkungen zur Auflage | 2. Auflage |
Editionsform | Non Books / PBS |
Einbandart | E-Book |
Typ des digitalen Artikels | |
Copyright | Kein Kopierschutz |
Erscheinungsdatum | 24. Mai 2019 |
Seitenzahl | 604 |
Warengruppe des Lieferanten | Naturwissenschaften - Mathematik |
Mehrwertsteuer | 7% (im angegebenen Preis enthalten) |
Naturwissenschaften - Mathematik
Auch hier werden natürlich 75% des Gewinns gespendet.
Gutschein kaufen
Ich freue mich jedesmal, wenn ich Ihre Website öffne, dass es Sie gibt, neben all den Raffgeiern in der Wirtschaft. Als mich ein Freund, auf Ihre Seite aufmerksam machte, war ich erstaunt, dass es Menschen wie Sie gibt.
T.B.
Die beiden Male, die ich in den letzten Jahren konkret Kontakt zu Buch7 hatte, habe ich mich wirklich und richtig gut beraten und "umsorgt" gefühlt. Vielen Dank dafür!
Birgit H. aus Troisdorf
Ich bin sehr zufrieden mit buch7.de und werde, wenn ich nicht den kleinen Buchladen im Ort aufsuche, sehr gerne weiter bei buch7.de einkaufen!
J. H.
Also Ihr Engagement und Service berühren mich echt, vor allem diese prompte Kommunikation. Das hat heute schon Seltenheitswert!
Urlsula G. aus Heidelberg
Sie und Ihr Team zeigen mit Ihrem Engagement, dass es Sinn macht, über den Tellerrand der reinen Ökonomie hinaus zu schauen.
Ich wünsche Ihnen viele treue Kunden und ein unüberhörbares Echo in der Medienwelt.
Heinz-Ulrich P. aus Aurich