Advanced R
Title | Advanced R PDF eBook |
Author | Hadley Wickham |
Publisher | CRC Press |
Pages | 669 |
Release | 2015-09-15 |
Genre | Mathematics |
ISBN | 1498759807 |
An Essential Reference for Intermediate and Advanced R Programmers Advanced R presents useful tools and techniques for attacking many types of R programming problems, helping you avoid mistakes and dead ends. With more than ten years of experience programming in R, the author illustrates the elegance, beauty, and flexibility at the heart of R. The book develops the necessary skills to produce quality code that can be used in a variety of circumstances. You will learn: The fundamentals of R, including standard data types and functions Functional programming as a useful framework for solving wide classes of problems The positives and negatives of metaprogramming How to write fast, memory-efficient code This book not only helps current R users become R programmers but also shows existing programmers what’s special about R. Intermediate R programmers can dive deeper into R and learn new strategies for solving diverse problems while programmers from other languages can learn the details of R and understand why R works the way it does.
Metaprogramming in R
Title | Metaprogramming in R PDF eBook |
Author | Thomas Mailund |
Publisher | Apress |
Pages | 106 |
Release | 2017-06-01 |
Genre | Computers |
ISBN | 1484228812 |
Learn how to manipulate functions and expressions to modify how the R language interprets itself. This book is an introduction to metaprogramming in the R language, so you will write programs to manipulate other programs. Metaprogramming in R shows you how to treat code as data that you can generate, analyze, or modify. R is a very high-level language where all operations are functions and all functions are data that can be manipulated. This book shows you how to leverage R's natural flexibility in how function calls and expressions are evaluated, to create small domain-specific languages to extend R within the R language itself. What You'll Learn Find out about the anatomy of a function in R Look inside a function call Work with R expressions and environments Manipulate expressions in R Use substitutions Who This Book Is For Those with at least some experience with R and certainly for those with experience in other programming languages.
Doing Meta-Analysis with R
Title | Doing Meta-Analysis with R PDF eBook |
Author | Mathias Harrer |
Publisher | CRC Press |
Pages | 500 |
Release | 2021-09-15 |
Genre | Mathematics |
ISBN | 1000435636 |
Doing Meta-Analysis with R: A Hands-On Guide serves as an accessible introduction on how meta-analyses can be conducted in R. Essential steps for meta-analysis are covered, including calculation and pooling of outcome measures, forest plots, heterogeneity diagnostics, subgroup analyses, meta-regression, methods to control for publication bias, risk of bias assessments and plotting tools. Advanced but highly relevant topics such as network meta-analysis, multi-three-level meta-analyses, Bayesian meta-analysis approaches and SEM meta-analysis are also covered. A companion R package, dmetar, is introduced at the beginning of the guide. It contains data sets and several helper functions for the meta and metafor package used in the guide. The programming and statistical background covered in the book are kept at a non-expert level, making the book widely accessible. Features • Contains two introductory chapters on how to set up an R environment and do basic imports/manipulations of meta-analysis data, including exercises • Describes statistical concepts clearly and concisely before applying them in R • Includes step-by-step guidance through the coding required to perform meta-analyses, and a companion R package for the book
Advanced R, Second Edition
Title | Advanced R, Second Edition PDF eBook |
Author | Hadley Wickham |
Publisher | CRC Press |
Pages | 568 |
Release | 2019-05-24 |
Genre | Mathematics |
ISBN | 1351201298 |
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 difference between an object and its name, and why the distinction is important The important vector data structures, how they fit together, and how you can pull them apart using subsetting The fine details of functions and environments The condition system, which powers messages, warnings, and errors The powerful functional programming paradigm, which can replace many for loops The three most important OO systems: S3, S4, and R6 The tidy eval toolkit for metaprogramming, which allows you to manipulate code and control evaluation Effective debugging techniques that you can deploy, regardless of how your code is run How to find and remove performance bottlenecks The second edition is a comprehensive update: New foundational chapters: "Names and values," "Control flow," and "Conditions" comprehensive coverage of object oriented programming with chapters on S3, S4, R6, and how to choose between them Much deeper coverage of metaprogramming, including the new tidy evaluation framework use of new package like rlang (http://rlang.r-lib.org), which provides a clean interface to low-level operations, and purr (http://purrr.tidyverse.org/) for functional programming Use of color in code chunks and figures 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.
Advanced R Solutions
Title | Advanced R Solutions PDF eBook |
Author | Malte Grosser |
Publisher | CRC Press |
Pages | 279 |
Release | 2021-08-24 |
Genre | Mathematics |
ISBN | 1000409090 |
This book offers solutions to all 284 exercises in Advanced R, Second Edition. All the solutions have been carefully documented and made to be as clear and accessible as possible. Working through the exercises and their solutions will give you a deeper understanding of a variety of programming challenges, many of which are relevant to everyday work. This will expand your set of tools on a technical and conceptual level. You will be able to transfer many of the specific programming schemes directly and will discover far more elegant solutions to everyday problems. Features: When R creates copies, and how it affects memory usage and code performance Everything you could ever want to know about functions The differences between calling and exiting handlers How to employ functional programming to solve modular tasks The motivation, mechanics, usage, and limitations of R's highly pragmatic S3 OO system The R6 OO system, which is more like OO programming in other languages The rules that R uses to parse and evaluate expressions How to use metaprogramming to generate HTML or LaTeX with elegant R code How to identify and resolve performance bottlenecks
The Art of R Programming
Title | The Art of R Programming PDF eBook |
Author | Norman Matloff |
Publisher | No Starch Press |
Pages | 404 |
Release | 2011-10-11 |
Genre | Computers |
ISBN | 1593273843 |
R is the world's most popular language for developing statistical software: Archaeologists use it to track the spread of ancient civilizations, drug companies use it to discover which medications are safe and effective, and actuaries use it to assess financial risks and keep economies running smoothly. The Art of R Programming takes you on a guided tour of software development with R, from basic types and data structures to advanced topics like closures, recursion, and anonymous functions. No statistical knowledge is required, and your programming skills can range from hobbyist to pro. Along the way, you'll learn about functional and object-oriented programming, running mathematical simulations, and rearranging complex data into simpler, more useful formats. You'll also learn to: –Create artful graphs to visualize complex data sets and functions –Write more efficient code using parallel R and vectorization –Interface R with C/C++ and Python for increased speed or functionality –Find new R packages for text analysis, image manipulation, and more –Squash annoying bugs with advanced debugging techniques Whether you're designing aircraft, forecasting the weather, or you just need to tame your data, The Art of R Programming is your guide to harnessing the power of statistical computing.
C++ Template Metaprogramming
Title | C++ Template Metaprogramming PDF eBook |
Author | David Abrahams |
Publisher | Addison-Wesley Professional |
Pages | 408 |
Release | 2005 |
Genre | Computers |
ISBN |
"This book is aimed at any programmer who is comfortable with idioms of the Standard Template Library (STL). C++ power-users will gain a new insight into their existing work and a new fluency in the domain of metaprogramming. Intermediate-level programmers who have learned a few advanced template techniques will see where these tricks fit in the big picture and will gain the conceptual foundation to use them with discipline. Programmers who have caught the scent of metaprogramming, but for whom it is still mysterious, will finally gain a clear understanding of how, when, and why it works. All readers will leave with a new tool of unprecedented power at their disposal - the Boost Metaprogramming Library."--Jacket.