توضیحاتی در مورد کتاب Advanced R
نام کتاب : Advanced R
ویرایش : Second ed.
عنوان ترجمه شده به فارسی : A Advanced R
سری : Chapman & Hall/CRC the R series (CRC Press)
نویسندگان : Hadley Wickham
ناشر : Taylor & Francis, CRC Press
سال نشر : 2019
تعداد صفحات : [604]
ISBN (شابک) : 9780367255374 , 0815384572
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 7 Mb
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
فهرست مطالب :
Cover
Half Title
Series Page
Title Page
Copyright Page
Dedication
Contents
Preface
1 Introduction
1.1 Why R?
1.2 Who should read this book
1.3 What you will get out of this book
1.4 What you will not learn
1.5 Meta-techniques
1.6 Recommended reading
1.7 Getting help
1.8 Acknowledgments
1.9 Conventions
1.10 Colophon
I: Foundations
Introduction
2 Names and values
2.1 Introduction
2.2 Binding basics
2.3 Copy-on-modify
2.4 Object size
2.5 Modify-in-place
2.6 Unbinding and the garbage collector
2.7 Quiz answers
3 Vectors
3.1 Introduction
3.2 Atomic vectors
3.3 Attributes
3.4 S3 atomic vectors
3.5 Lists
3.6 Data frames and tibbles
3.7 NULL
3.8 Quiz answers
4 Subsetting
4.1 Introduction
4.2 Selecting multiple elements
4.3 Selecting a single element
4.4 Subsetting and assignment
4.5 Applications
4.6 Quiz answers
5 Control flow
5.1 Introduction
5.2 Choices
5.3 Loops
5.4 Quiz answers
6 Functions
6.1 Introduction
6.2 Function fundamentals
6.3 Function composition
6.4 Lexical scoping
6.5 Lazy evaluation
6.6 ... (dot-dot-dot)
6.7 Exiting a function
6.8 Function forms
6.9 Quiz answers
7 Environments
7.1 Introduction
7.2 Environment basics
7.3 Recursing over environments
7.4 Special environments
7.5 Call stacks
7.6 As data structures
7.7 Quiz answers
8 Conditions
8.1 Introduction
8.2 Signalling conditions
8.3 Ignoring conditions
8.4 Handling conditions
8.5 Custom conditions
8.6 Applications
8.7 Quiz answers
II: Functional programming
Introduction
9 Functionals
9.1 Introduction
9.2 My first functional: map()
9.3 Purrr style
9.4 Map variants
9.5 Reduce family
9.6 Predicate functionals
9.7 Base functionals
10 Function factories
10.1 Introduction
10.2 Factory fundamentals
10.3 Graphical factories
10.4 Statistical factories
10.5 Function factories + functionals
11 Function operators
11.1 Introduction
11.2 Existing function operators
11.3 Case study: Creating your own function operators
III: Object-oriented programming
Introduction
12 Base types
12.1 Introduction
12.2 Base versus OO objects
12.3 Base types
13 S3
13.1 Introduction
13.2 Basics
13.3 Classes
13.4 Generics and methods
13.5 Object styles
13.6 Inheritance
13.7 Dispatch details
14 R6
14.1 Introduction
14.2 Classes and methods
14.3 Controlling access
14.4 Reference semantics
14.5 Why R6?
15 S4
15.1 Introduction
15.2 Basics
15.3 Classes
15.4 Generics and methods
15.5 Method dispatch
15.6 S4 and S3
16 Trade-offs
16.1 Introduction
16.2 S4 versus S3
16.3 R6 versus S3
IV: Metaprogramming
Introduction
17 Big picture
17.1 Introduction
17.2 Code is data
17.3 Code is a tree
17.4 Code can generate code
17.5 Evaluation runs code
17.6 Customising evaluation with functions
17.7 Customising evaluation with data
17.8 Quosures
18 Expressions
18.1 Introduction
18.2 Abstract syntax trees
18.3 Expressions
18.4 Parsing and grammar
18.5 Walking AST with recursive functions
18.6 Specialised data structures
19 Quasiquotation
19.1 Introduction
19.2 Motivation
19.3 Quoting
19.4 Unquoting
19.5 Non-quoting
19.6 ... (dot-dot-dot)
19.7 Case studies
19.8 History
20 Evaluation
20.1 Introduction
20.2 Evaluation basics
20.3 Quosures
20.4 Data masks
20.5 Using tidy evaluation
20.6 Base evaluation
21 Translating R code
21.1 Introduction
21.2 HTML
21.3 LaTeX
V: Techniques
Introduction
22 Debugging
22.1 Introduction
22.2 Overall approach
22.3 Locating errors
22.4 Interactive debugger
22.5 Non-interactive debugging
22.6 Non-error failures
23 Measuring performance
23.1 Introduction
23.2 Profiling
23.3 Microbenchmarking
24 Improving performance
24.1 Introduction
24.2 Code organisation
24.3 Checking for existing solutions
24.4 Doing as little as possible
24.5 Vectorise
24.6 Avoiding copies
24.7 Case study: t-test
24.8 Other techniques
25 Rewriting R code in C++
25.1 Introduction
25.2 Getting started with C++
25.3 Other classes
25.4 Missing values
25.5 Standard Template Library
25.6 Case studies
25.7 Using Rcpp in a package
25.8 Learning more
25.9 Acknowledgments
Bibliography
Index