Advanced R

Author: Hadley Wickham

Publisher: CRC Press

ISBN: 1498759807

Category: Mathematics

Page: 476

View: 4128

DOWNLOAD NOW »

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.
Release

Advanced R, Second Edition

Author: Hadley Wickham

Publisher: CRC Press

ISBN: 1351201301

Category: Mathematics

Page: 588

View: 2089

DOWNLOAD NOW »

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.
Release

Handbook of Regression Methods

Author: Derek Scott Young

Publisher: CRC Press

ISBN: 1351650742

Category: Mathematics

Page: 638

View: 1002

DOWNLOAD NOW »

Handbook of Regression Methods concisely covers numerous traditional, contemporary, and nonstandard regression methods. The handbook provides a broad overview of regression models, diagnostic procedures, and inference procedures, with emphasis on how these methods are applied. The organization of the handbook benefits both practitioners and researchers, who seek either to obtain a quick understanding of regression methods for specialized problems or to expand their own breadth of knowledge of regression topics. This handbook covers classic material about simple linear regression and multiple linear regression, including assumptions, effective visualizations, and inference procedures. It presents an overview of advanced diagnostic tests, remedial strategies, and model selection procedures. Finally, many chapters are devoted to a diverse range of topics, including censored regression, nonlinear regression, generalized linear models, and semiparametric regression. Features Presents a concise overview of a wide range of regression topics not usually covered in a single text Includes over 80 examples using nearly 70 real datasets, with results obtained using R Offers a Shiny app containing all examples, thus allowing access to the source code and the ability to interact with the analyses
Release

Probability and Statistics for Data Science

Math + R + Data

Author: Norman Matloff

Publisher: CRC Press

ISBN: 0429687117

Category: Business & Economics

Page: 412

View: 9032

DOWNLOAD NOW »

Probability and Statistics for Data Science: Math + R + Data covers "math stat"—distributions, expected value, estimation etc.—but takes the phrase "Data Science" in the title quite seriously: * Real datasets are used extensively. * All data analysis is supported by R coding. * Includes many Data Science applications, such as PCA, mixture distributions, random graph models, Hidden Markov models, linear and logistic regression, and neural networks. * Leads the student to think critically about the "how" and "why" of statistics, and to "see the big picture." * Not "theorem/proof"-oriented, but concepts and models are stated in a mathematically precise manner. Prerequisites are calculus, some matrix algebra, and some experience in programming. Norman Matloff is a professor of computer science at the University of California, Davis, and was formerly a statistics professor there. He is on the editorial boards of the Journal of Statistical Software and The R Journal. His book Statistical Regression and Classification: From Linear Models to Machine Learning was the recipient of the Ziegel Award for the best book reviewed in Technometrics in 2017. He is a recipient of his university's Distinguished Teaching Award.
Release

Reproducible Research with R and R Studio

Author: Christopher Gandrud

Publisher: CRC Press

ISBN: 1498715389

Category: Business & Economics

Page: 323

View: 3105

DOWNLOAD NOW »

All the Tools for Gathering and Analyzing Data and Presenting Results Reproducible Research with R and RStudio, Second Edition brings together the skills and tools needed for doing and presenting computational research. Using straightforward examples, the book takes you through an entire reproducible research workflow. This practical workflow enables you to gather and analyze data as well as dynamically present results in print and on the web. New to the Second Edition The rmarkdown package that allows you to create reproducible research documents in PDF, HTML, and Microsoft Word formats using the simple and intuitive Markdown syntax Improvements to RStudio’s interface and capabilities, such as its new tools for handling R Markdown documents Expanded knitr R code chunk capabilities The kable function in the knitr package and the texreg package for dynamically creating tables to present your data and statistical results An improved discussion of file organization, enabling you to take full advantage of relative file paths so that your documents are more easily reproducible across computers and systems The dplyr, magrittr, and tidyr packages for fast data manipulation Numerous modifications to R syntax in user-created packages Changes to GitHub’s and Dropbox’s interfaces Create Dynamic and Highly Reproducible Research This updated book provides all the tools to combine your research with the presentation of your findings. It saves you time searching for information so that you can spend more time actually addressing your research questions. Supplementary files used for the examples and a reproducible research project are available on the author’s website.
Release

Extending R

Author: John M. Chambers

Publisher: CRC Press

ISBN: 1498775721

Category: Mathematics

Page: 364

View: 7233

DOWNLOAD NOW »

Up-to-Date Guidance from One of the Foremost Members of the R Core Team Written by John M. Chambers, the leading developer of the original S software, Extending R covers key concepts and techniques in R to support analysis and research projects. It presents the core ideas of R, provides programming guidance for projects of all scales, and introduces new, valuable techniques that extend R. The book first describes the fundamental characteristics and background of R, giving readers a foundation for the remainder of the text. It next discusses topics relevant to programming with R, including the apparatus that supports extensions. The book then extends R’s data structures through object-oriented programming, which is the key technique for coping with complexity. The book also incorporates a new structure for interfaces applicable to a variety of languages. A reflection of what R is today, this guide explains how to design and organize extensions to R by correctly using objects, functions, and interfaces. It enables current and future users to add their own contributions and packages to R. A 2017 Choice Outstanding Academic Title
Release

Computational Actuarial Science with R

Author: Arthur Charpentier

Publisher: CRC Press

ISBN: 1466592591

Category: Business & Economics

Page: 656

View: 9919

DOWNLOAD NOW »

A Hands-On Approach to Understanding and Using Actuarial Models Computational Actuarial Science with R provides an introduction to the computational aspects of actuarial science. Using simple R code, the book helps you understand the algorithms involved in actuarial computations. It also covers more advanced topics, such as parallel computing and C/C++ embedded codes. After an introduction to the R language, the book is divided into four parts. The first one addresses methodology and statistical modeling issues. The second part discusses the computational facets of life insurance, including life contingencies calculations and prospective life tables. Focusing on finance from an actuarial perspective, the next part presents techniques for modeling stock prices, nonlinear time series, yield curves, interest rates, and portfolio optimization. The last part explains how to use R to deal with computational issues of nonlife insurance. Taking a do-it-yourself approach to understanding algorithms, this book demystifies the computational aspects of actuarial science. It shows that even complex computations can usually be done without too much trouble. Datasets used in the text are available in an R package (CASdatasets).
Release

R Graphics, Third Edition

Author: Paul Murrell

Publisher: CRC Press

ISBN: 0429749953

Category: Computers

Page: 423

View: 7677

DOWNLOAD NOW »

This third edition of Paul Murrell’s classic book on using R for graphics represents a major update, with a complete overhaul in focus and scope. It focuses primarily on the two core graphics packages in R - graphics and grid - and has a new section on integrating graphics. This section includes three new chapters: importing external images in to R; integrating the graphics and grid systems; and advanced SVG graphics. The emphasis in this third edition is on having the ability to produce detailed and customised graphics in a wide variety of formats, on being able to share and reuse those graphics, and on being able to integrate graphics from multiple systems. This book is aimed at all levels of R users. For people who are new to R, this book provides an overview of the graphics facilities, which is useful for understanding what to expect from R's graphics functions and how to modify or add to the output they produce. For intermediate-level R users, this book provides all of the information necessary to perform sophisticated customizations of plots produced in R. For advanced R users, this book contains vital information for producing coherent, reusable, and extensible graphics functions.
Release

Statistical Computing with R

Author: Maria L. Rizzo

Publisher: CRC Press

ISBN: 1584885459

Category: Mathematics

Page: 416

View: 5125

DOWNLOAD NOW »

Computational statistics and statistical computing are two areas that employ computational, graphical, and numerical approaches to solve statistical problems, making the versatile R language an ideal computing environment for these fields. One of the first books on these topics to feature R, Statistical Computing with R covers the traditional core material of computational statistics, with an emphasis on using the R language via an examples-based approach. Suitable for an introductory course in computational statistics or for self-study, it includes R code for all examples and R notes to help explain the R programming concepts. After an overview of computational statistics and an introduction to the R computing environment, the book reviews some basic concepts in probability and classical statistical inference. Each subsequent chapter explores a specific topic in computational statistics. These chapters cover the simulation of random variables from probability distributions, the visualization of multivariate data, Monte Carlo integration and variance reduction methods, Monte Carlo methods in inference, bootstrap and jackknife, permutation tests, Markov chain Monte Carlo (MCMC) methods, and density estimation. The final chapter presents a selection of examples that illustrate the application of numerical methods using R functions. Focusing on implementation rather than theory, this text serves as a balanced, accessible introduction to computational statistics and statistical computing.
Release

Introductory Fisheries Analyses with R

Author: Derek H. Ogle

Publisher: CRC Press

ISBN: 1315360187

Category: Mathematics

Page: 317

View: 6011

DOWNLOAD NOW »

A How-To Guide for Conducting Common Fisheries-Related Analyses in R Introductory Fisheries Analyses with R provides detailed instructions on performing basic fisheries stock assessment analyses in the R environment. Accessible to practicing fisheries scientists as well as advanced undergraduate and graduate students, the book demonstrates the flexibility and power of R, offers insight into the reproducibility of script-based analyses, and shows how the use of R leads to more efficient and productive work in fisheries science. The first three chapters present a minimal introduction to the R environment that builds a foundation for the fisheries-specific analyses in the remainder of the book. These chapters help you become familiar with R for basic fisheries analyses and graphics. Subsequent chapters focus on methods to analyze age comparisons, age-length keys, size structure, weight-length relationships, condition, abundance (from capture-recapture and depletion data), mortality rates, individual growth, and the stock-recruit relationship. The fundamental statistical methods of linear regression, analysis of variance (ANOVA), and nonlinear regression are demonstrated within the contexts of these common fisheries analyses. For each analysis, the author completely explains the R functions and provides sufficient background information so that you can confidently implement each method. Web Resource The author’s website at http://derekogle.com/IFAR/ includes the data files and R code for each chapter, enabling you to reproduce the results in the book as well as create your own scripts. The site also offers supplemental code for more advanced analyses and practice exercises for every chapter.
Release