Advanced R:
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 foundati...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Boca Raton ; London ; New York
CRC Press
[2019]
|
Ausgabe: | Second edition |
Schriftenreihe: | The R series
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Zusammenfassung: | 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. |
Beschreibung: | xv, 587 Seiten Illustrationen, Diagramme |
ISBN: | 9780815384571 9780367255374 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV045939651 | ||
003 | DE-604 | ||
005 | 20230214 | ||
007 | t| | ||
008 | 190618s2019 xx a||| |||| 00||| eng d | ||
020 | |a 9780815384571 |c (pbk) |9 978-0-815-38457-1 | ||
020 | |a 9780367255374 |c hbk. |9 978-0-367-25537-4 | ||
035 | |a (OCoLC)1108997793 | ||
035 | |a (DE-599)BVBBV045939651 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-473 |a DE-1043 |a DE-578 |a DE-11 |a DE-706 |a DE-945 |a DE-703 |a DE-1102 |a DE-N2 |a DE-355 |a DE-188 |a DE-863 | ||
050 | 0 | |a QA276 | |
084 | |a WC 7000 |0 (DE-625)148142: |2 rvk | ||
084 | |a MR 2200 |0 (DE-625)123489: |2 rvk | ||
084 | |a ST 601 |0 (DE-625)143682: |2 rvk | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a DAT 307f |2 stub | ||
100 | 1 | |a Wickham, Hadley |e Verfasser |0 (DE-588)1068547812 |4 aut | |
245 | 1 | 0 | |a Advanced R |c Hadley Wickham |
250 | |a Second edition | ||
264 | 1 | |a Boca Raton ; London ; New York |b CRC Press |c [2019] | |
264 | 4 | |c © 2019 | |
300 | |a xv, 587 Seiten |b Illustrationen, Diagramme | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a The R series | |
520 | 3 | |a 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. | |
650 | 0 | 7 | |a R |g Programm |0 (DE-588)4705956-4 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a R |g Programm |0 (DE-588)4705956-4 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Regensburg - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=031321921&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-031321921 |
Datensatz im Suchindex
DE-BY-863_location | 1000 |
---|---|
DE-BY-FWS_call_number | 1000/ST 250 R01 W63(2) |
DE-BY-FWS_katkey | 729395 |
DE-BY-FWS_media_number | 083101202983 |
_version_ | 1824553497470697472 |
adam_text |
Contents Preface 1 Introduction 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1 xiii WhyR?. Who should read this book. What you will get out ofthis book. What you will not learn. Meta-techniques . Recommended reading . Getting help . Acknowledgments . Conventions . Colophon. Foundations Introduction 2 1 1 3 4 4 5 5 6 7 10 12 13 15 Names and values 17 2.1 2.2 2.3 2.4 2.5 2.6 2.7 17 19 22 29 31 36 38 Introduction . Binding basics . Copy-on-modify . Object size . Modify-in-place . Unbinding and the garbage
collector. 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. 39 39 41 45 50 55 58 vii
viii 4 5 6 Contents 3.7 NULL. 3.8 Quiz answers. 69 70 Subsetting 73 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. 73 74 81 85 87 94 Control flow 97 5.1 Introduction . 5.2 Choices . 5.3 Loops. 5.4 Quiz answers. 97 98 102 106 Functions 107 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. 107 109 113 115 120 125 128 134 141 7 Environments 7.1 7.2 7.3 7.4 7.5 7.6 7.7 8 Introduction . Environment basics . Recursing over environments . Special environments . Call stacks . As data structures. Quiz answers. 143 143 144 153 156 165 169 170 Conditions 171 8.1 8.2 8.3 8.4 8.5 8.6 8.7 171 173 178 180 188 193 201 Introduction . Signalling conditions. Ignoring conditions
. Handling conditions . Custom conditions. Applications . Quiz answers.
Contents II ix Functional programming 203 Introduction 205 9 Functionals 209 9.1 9.2 9.3 9.4 9.5 9.6 9.7 209 211 221 223 233 239 242 Introduction . My first functional: map() . Purrr style . Map variants. Reduce family . Predicate functionals . Base functionals . 10 Function factories 10.1 10.2 10.3 10.4 10.5 Introduction . Factory fundamentals . Graphical factories. Statistical factories . 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 247 247 249 256 261 268
271 271 272 278 283 Introduction 285 12 Base types 291 12.1 Introduction . 12.2 Base versus OO objects. 12.3 Base types . 13 S3 13.1 13.2 13.3 13.4 13.5 13.6 13.7 291 292 293 297 Introduction . Basics. Classes . Generics and methods. Object styles. Inheritance. Dispatch details . 14 R6 14.1 Introduction . 14.2 Classes and methods . 297 298 302 309 312 314 320 325 325 326
Contents x 14.3 Controlling access . 14.4 Reference semantics . 14.5 Why R6? . 15 S4 341 15.1 15.2 15.3 15.4 15.5 15.6 Introduction . Basics. Classes . Generics and methods. Method dispatch. S4 and S3. 16 Trade-offs 16.1 Introduction . 16.2 S4 versus S3 . 16.3 R6 versus S3 . IV 332 336 340 Metaprogramming 341 343 344 349 352 359 363 363 364 365 371 Introduction 373 17 Big picture 375 17.1 17.2 17.3 17.4 17.5 17.6 17.7 17.8 Introduction . Code is data . Code is a tree
. Code can generate code. Evaluation runs code . Customising evaluation with functions. Customising evaluation with data . Quosures . 18 Expressions 18.1 18.2 18.3 18.4 18.5 18.6 Introduction . Abstract syntax trees . Expressions. Parsing and grammar . Walking AST with recursive functions. Specialised data structures . 19 Quasiquotation 19.1 19.2 19.3 19.4 19.5 19.6 Introduction . Motivation . Quoting. Unquoting . Non-quoting . . (dot-dot-
dot). 375 376 377 378 380 381 382 383 385 385 386 391 399 404 411 415 415 416 419 424 433 436
Contents xi 19.7 Case studies . 19.8 History . 20 Evaluation 20.1 20.2 20.3 20.4 20.5 20.6 Introduction . Evaluation basics . Quosures . Data masks. Using tidy evaluation . Base evaluation . 21 Translating R code 21.1 Introduction . 21.2 HTML . 21.3 LaTeX . V Techniques 442 448 451 451 452 457 462 468 472 481 481 482 492 501 Introduction 503 22 Debugging 505 22.1 22.2 22.3 22.4 22.5 22.6 Introduction . Overall approach. Locating errors. Interactive
debugger. Non-interactive debugging . Non-error failures . 23 Measuring performance 23.1 Introduction . 23.2 Profiling . 23.3 Microbenchmarking . 24 Improving performance 24.1 24.2 24.3 24.4 24.5 24.6 24.7 24.8 Introduction . Code organisation . Checking for existing solutions . Doing as little as possible. Vectorise . Avoiding copies. Case study: t-test . Other techniques. 25 Rewriting R code in C++ 25.1 Introduction . 25.2 Getting started with C++ 505 506 507 509 513 516 519 519 520 526 531 531 532 534 535 539 541 542 544 547 547 548
Contents xii 25.3 25.4 25.5 25.6 25.7 25.8 25.9 Other classes. Missing values . Standard TemplateLibrary. Case studies . Using Repp in a package . Learning more . Acknowledgments . 557 559 563 570 574 575 576 Bibliography 577 Index 581 |
any_adam_object | 1 |
author | Wickham, Hadley |
author_GND | (DE-588)1068547812 |
author_facet | Wickham, Hadley |
author_role | aut |
author_sort | Wickham, Hadley |
author_variant | h w hw |
building | Verbundindex |
bvnumber | BV045939651 |
callnumber-first | Q - Science |
callnumber-label | QA276 |
callnumber-raw | QA276 |
callnumber-search | QA276 |
callnumber-sort | QA 3276 |
callnumber-subject | QA - Mathematics |
classification_rvk | WC 7000 MR 2200 ST 601 ST 250 |
classification_tum | DAT 307f |
ctrlnum | (OCoLC)1108997793 (DE-599)BVBBV045939651 |
discipline | Biologie Informatik Soziologie |
edition | Second edition |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV045939651</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20230214</controlfield><controlfield tag="007">t|</controlfield><controlfield tag="008">190618s2019 xx a||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780815384571</subfield><subfield code="c">(pbk)</subfield><subfield code="9">978-0-815-38457-1</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780367255374</subfield><subfield code="c">hbk.</subfield><subfield code="9">978-0-367-25537-4</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1108997793</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV045939651</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-473</subfield><subfield code="a">DE-1043</subfield><subfield code="a">DE-578</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-706</subfield><subfield code="a">DE-945</subfield><subfield code="a">DE-703</subfield><subfield code="a">DE-1102</subfield><subfield code="a">DE-N2</subfield><subfield code="a">DE-355</subfield><subfield code="a">DE-188</subfield><subfield code="a">DE-863</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA276</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">WC 7000</subfield><subfield code="0">(DE-625)148142:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">MR 2200</subfield><subfield code="0">(DE-625)123489:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 601</subfield><subfield code="0">(DE-625)143682:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 307f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Wickham, Hadley</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1068547812</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Advanced R</subfield><subfield code="c">Hadley Wickham</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">Second edition</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Boca Raton ; London ; New York</subfield><subfield code="b">CRC Press</subfield><subfield code="c">[2019]</subfield></datafield><datafield tag="264" ind1=" " ind2="4"><subfield code="c">© 2019</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xv, 587 Seiten</subfield><subfield code="b">Illustrationen, Diagramme</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">The R series</subfield></datafield><datafield tag="520" ind1="3" ind2=" "><subfield code="a">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.</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">R</subfield><subfield code="g">Programm</subfield><subfield code="0">(DE-588)4705956-4</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">R</subfield><subfield code="g">Programm</subfield><subfield code="0">(DE-588)4705956-4</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Regensburg - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=031321921&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-031321921</subfield></datafield></record></collection> |
id | DE-604.BV045939651 |
illustrated | Illustrated |
indexdate | 2025-02-20T06:36:49Z |
institution | BVB |
isbn | 9780815384571 9780367255374 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-031321921 |
oclc_num | 1108997793 |
open_access_boolean | |
owner | DE-473 DE-BY-UBG DE-1043 DE-578 DE-11 DE-706 DE-945 DE-703 DE-1102 DE-N2 DE-355 DE-BY-UBR DE-188 DE-863 DE-BY-FWS |
owner_facet | DE-473 DE-BY-UBG DE-1043 DE-578 DE-11 DE-706 DE-945 DE-703 DE-1102 DE-N2 DE-355 DE-BY-UBR DE-188 DE-863 DE-BY-FWS |
physical | xv, 587 Seiten Illustrationen, Diagramme |
publishDate | 2019 |
publishDateSearch | 2019 |
publishDateSort | 2019 |
publisher | CRC Press |
record_format | marc |
series2 | The R series |
spellingShingle | Wickham, Hadley Advanced R R Programm (DE-588)4705956-4 gnd |
subject_GND | (DE-588)4705956-4 |
title | Advanced R |
title_auth | Advanced R |
title_exact_search | Advanced R |
title_full | Advanced R Hadley Wickham |
title_fullStr | Advanced R Hadley Wickham |
title_full_unstemmed | Advanced R Hadley Wickham |
title_short | Advanced R |
title_sort | advanced r |
topic | R Programm (DE-588)4705956-4 gnd |
topic_facet | R Programm |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=031321921&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT wickhamhadley advancedr |
Inhaltsverzeichnis
THWS Würzburg Zentralbibliothek Lesesaal
Signatur: |
1000 ST 250 R01 W63(2) |
---|---|
Exemplar 1 | ausleihbar Verfügbar Bestellen |