Learning R: [a step-by-step function guide to data analysis]
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing
O'Reilly
2013
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltstext Inhaltsverzeichnis |
Beschreibung: | XIX, 377 S. Ill., graph. Darst. |
ISBN: | 9781449357108 1449357105 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV041294530 | ||
003 | DE-604 | ||
005 | 20201103 | ||
007 | t | ||
008 | 130930s2013 ad|| |||| 00||| eng d | ||
015 | |a 13,N28 |2 dnb | ||
016 | 7 | |a 103670405X |2 DE-101 | |
020 | |a 9781449357108 |c : EUR 27.99 (DE) (freier Pr.), EUR 28.80 (AT) (freier Pr.) |9 978-1-449-35710-8 | ||
020 | |a 1449357105 |9 1-449-35710-5 | ||
024 | 3 | |a 9781449357108 | |
035 | |a (OCoLC)862804203 | ||
035 | |a (DE-599)DNB103670405X | ||
040 | |a DE-604 |b ger |e rakddb | ||
041 | 0 | |a eng | |
049 | |a DE-703 |a DE-1050 |a DE-20 |a DE-11 |a DE-523 |a DE-473 | ||
082 | 0 | |a 004 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 510 |0 (DE-625)143676: |2 rvk | ||
084 | |a ST 601 |0 (DE-625)143682: |2 rvk | ||
084 | |a 004 |2 sdnb | ||
100 | 1 | |a Cotton, Richard |e Verfasser |0 (DE-588)1044537167 |4 aut | |
245 | 1 | 0 | |a Learning R |b [a step-by-step function guide to data analysis] |c Richard Cotton |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing |b O'Reilly |c 2013 | |
300 | |a XIX, 377 S. |b Ill., graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
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 X:MVB |q text/html |u http://deposit.dnb.de/cgi-bin/dokserv?id=4376837&prov=M&dok_var=1&dok_ext=htm |3 Inhaltstext |
856 | 4 | 2 | |m Digitalisierung UB Bamberg - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026743447&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-026743447 |
Datensatz im Suchindex
_version_ | 1806325946032062464 |
---|---|
adam_text |
Table of Contents Preface. xiii Parti. The R Language 1. Introduction. 3 Chapter Goals What Is R? Installing R Choosing an IDE Emacs + ESS Eclipse/Architect RStudio Revolution-R Live-R Other IDEs and Editors Your First Program How to Get Help in R Installing Extra Related Software Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 3 3 4 5 5 6 6 7 7 7 8 8 11 11 12 12 2. A Scientific Calculator. 13 Chapter Goals Mathematical Operations and Vectors Assigning Variables Special Numbers Logical Vectors Summary 13 13 17 19 20 22 V
Test Your Knowledge: Quiz Test Your Knowledge: Exercises 22 23 3. Inspecting Variables and Your Workspace. 25 Chapter Goals Classes Different Types of Numbers Other Common Classes Checking and Changing Classes Examining Variables The Workspace Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 25 25 26 27 30 33 36 37 37 37 4. Vectors, Matrices, and Arrays. 39 Chapter Goals Vectors Sequences Lengths Names Indexing Vectors Vector Recycling and Repetition Matrices and Arrays Creating Arrays and Matrices Rows, Columns, and Dimensions Row, Column, and Dimension Names Indexing Arrays Combining Matrices Array Arithmetic Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 39 39 41 42 42 43 45 46 46 48 50 51 51 52 54 55 55 5. Lists and Data Frames. 57 Chapter Goals Lists Creating Lists Atomic and Recursive Variables List Dimensions and Arithmetic Indexing Lists Converting Between Vectors and Lists vi I Table of Contents 57 57 57 60 60 61 64
Combining Lists NULL Pairlists Data Frames Creating Data Frames Indexing Data Frames Basic Data Frame Manipulation Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 65 66 70 70 71 74 75 77 77 78 6. Environments and Functions. 79 0000000000000000 Chapter Goals Environments Functions Creating and Calling Functions Passing Functions to and from Other Functions Variable Scope Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 79 79 82 82 86 89 91 91 91 7. Strings and Factors. 93 Chapter Goals Strings Constructing and Printing Strings Formatting Numbers Special Characters Changing Case Extracting Substrings Splitting Strings File Paths Factors Creating Factors Changing Factor Levels Dropping Factor Levels Ordered Factors Converting Continuous Variables to Categorical Converting Categorical Variables to Continuous Generating Factor Levels Combining Factors Summary 93 93 94 95 97 98 98 99 100 101 101 103 103 104 105 106 107 107 108 Table of Contents | vii
Test Your Knowledge: Quiz Test Your Knowledge: Exercises 108 108 8. Flow Control and Loops. 111 Chapter Goals Flow Control if and else Vectorized if Multiple Selection Loops repeat Loops while Loops for Loops Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 111 111 112 114 115 116 116 118 120 122 122 122 9. Advanced Looping. 125 Chapter Goals Replication Looping Over Lists Looping Over Arrays Multiple-Input Apply Instant Vectorization Split-Apply-Combine The plyr Package Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 125 125 127 132 135 136 136 138 141 141 141 10. Packages. 143 Chapter Goals Loading Packages The Search Path Libraries and Installed Packages Installing Packages Maintaining Packages Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 143 144 146 146 148 150 150 151 151 11. Dates and Times. 153 viïi I Table of Contents
Chapter Goals Date and Time Classes POSIX Dates and Times The Date Class Other Date Classes Conversion to and from Strings Parsing Dates Formatting Dates Time Zones Arithmetic with Dates and Times Lubridate Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 153 154 154 155 156 156 156 157 158 160 161 165 165 166 Part II. The Data Analysis Workflow 12. Getting Data. 169 Chapter Goals Built-in Datasets Reading Text Files CSV and Tab-Delimited Files Unstructured Text Files XML and HTML Files JSON and YAML Files Reading Binary Files Reading Excel Files Reading SAS, Stata, SPSS, and MATLAB Files Reading Other File Types Web Data Sites with an API Scraping Web Pages Accessing Databases Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 169 169 170 170 175 175 176 179 179 181 181 182 182 184 185 188 189 189 13. Cleaning and Transforming. 191 Chapter Goals Cleaning Strings Manipulating Data Frames 191 191 196 Table of Contents | ix
Adding and Replacing Columns Dealing with Missing Values Converting Between Wide and Long Form Using SQL Sorting Functional Programming Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 196 197 198 200 201 202 204 205 205 14. Exploring and Visualizing. . 207 Chapter Goals Summary Statistics The Three Plotting Systems Scatterplots Take 1: base Graphics Take 2: lattice Graphics Take 3: ggplot2 Graphics Line Plots Histograms Box Plots Bar Charts Other Plotting Packages and Systems Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 207 207 211 212 213 218 224 230 238 249 253 260 261 261 262 15. Distributions and Modeling. . 263 Chapter Goals Random Numbers The sample Function Sampling from Distributions Distributions Formulae A First Model: Linear Regressions Comparing and Updating Models Plotting and Inspecting Models Other Model Types Summary Test Your Knowledge: Quiz X I Table of Contents 263 264 264 265 266 267 268 271 276 280 282 282
Test Your Knowledge: Exercises 282 Programming. . 285 Chapter Goals Messages, Warnings, and Errors Error Handling Debugging Testing RUnit testthat Magic Turning Strings into Code Turning Code into Strings Object-Oriented Programming S3 Classes Reference Classes Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises 285 286 289 292 294 295 298 299 299 301 302 303 305 310 310 311 17. Making Packages. 313 00000000000000000000 Chapter Goals Why Create Packages? Prerequisites The Package Directory Structure Your First Package Documenting Packages Checking and Building Packages Maintaining Packages Summary Test Your Knowledge: Quiz Test Your Knowledge: Exercises Partlll. 313 313 313 314 315 317 320 321 323 323 324 Appendixes A. Properties of Variables. 327 B. Other Things to Do in R. 331 C. Answers to Quizzes. 333 Table of Contents | xi
D. Solutions to Exercises. 341 Bibliography. 365 Index. 367 xii I Table of Contents |
any_adam_object | 1 |
author | Cotton, Richard |
author_GND | (DE-588)1044537167 |
author_facet | Cotton, Richard |
author_role | aut |
author_sort | Cotton, Richard |
author_variant | r c rc |
building | Verbundindex |
bvnumber | BV041294530 |
classification_rvk | ST 250 ST 510 ST 601 |
ctrlnum | (OCoLC)862804203 (DE-599)DNB103670405X |
dewey-full | 004 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 004 - Computer science |
dewey-raw | 004 |
dewey-search | 004 |
dewey-sort | 14 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 1. ed. |
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">BV041294530</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20201103</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">130930s2013 ad|| |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">13,N28</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">103670405X</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781449357108</subfield><subfield code="c">: EUR 27.99 (DE) (freier Pr.), EUR 28.80 (AT) (freier Pr.)</subfield><subfield code="9">978-1-449-35710-8</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1449357105</subfield><subfield code="9">1-449-35710-5</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9781449357108</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)862804203</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB103670405X</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakddb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-703</subfield><subfield code="a">DE-1050</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-523</subfield><subfield code="a">DE-473</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">004</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 510</subfield><subfield code="0">(DE-625)143676:</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">004</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Cotton, Richard</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1044537167</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Learning R</subfield><subfield code="b">[a step-by-step function guide to data analysis]</subfield><subfield code="c">Richard Cotton</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2013</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XIX, 377 S.</subfield><subfield code="b">Ill., graph. Darst.</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="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">X:MVB</subfield><subfield code="q">text/html</subfield><subfield code="u">http://deposit.dnb.de/cgi-bin/dokserv?id=4376837&prov=M&dok_var=1&dok_ext=htm</subfield><subfield code="3">Inhaltstext</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bamberg - 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=026743447&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-026743447</subfield></datafield></record></collection> |
id | DE-604.BV041294530 |
illustrated | Illustrated |
indexdate | 2024-08-03T00:57:40Z |
institution | BVB |
isbn | 9781449357108 1449357105 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-026743447 |
oclc_num | 862804203 |
open_access_boolean | |
owner | DE-703 DE-1050 DE-20 DE-11 DE-523 DE-473 DE-BY-UBG |
owner_facet | DE-703 DE-1050 DE-20 DE-11 DE-523 DE-473 DE-BY-UBG |
physical | XIX, 377 S. Ill., graph. Darst. |
publishDate | 2013 |
publishDateSearch | 2013 |
publishDateSort | 2013 |
publisher | O'Reilly |
record_format | marc |
spelling | Cotton, Richard Verfasser (DE-588)1044537167 aut Learning R [a step-by-step function guide to data analysis] Richard Cotton 1. ed. Beijing O'Reilly 2013 XIX, 377 S. Ill., graph. Darst. txt rdacontent n rdamedia nc rdacarrier R Programm (DE-588)4705956-4 gnd rswk-swf R Programm (DE-588)4705956-4 s DE-604 X:MVB text/html http://deposit.dnb.de/cgi-bin/dokserv?id=4376837&prov=M&dok_var=1&dok_ext=htm Inhaltstext Digitalisierung UB Bamberg - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026743447&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Cotton, Richard Learning R [a step-by-step function guide to data analysis] R Programm (DE-588)4705956-4 gnd |
subject_GND | (DE-588)4705956-4 |
title | Learning R [a step-by-step function guide to data analysis] |
title_auth | Learning R [a step-by-step function guide to data analysis] |
title_exact_search | Learning R [a step-by-step function guide to data analysis] |
title_full | Learning R [a step-by-step function guide to data analysis] Richard Cotton |
title_fullStr | Learning R [a step-by-step function guide to data analysis] Richard Cotton |
title_full_unstemmed | Learning R [a step-by-step function guide to data analysis] Richard Cotton |
title_short | Learning R |
title_sort | learning r a step by step function guide to data analysis |
title_sub | [a step-by-step function guide to data analysis] |
topic | R Programm (DE-588)4705956-4 gnd |
topic_facet | R Programm |
url | http://deposit.dnb.de/cgi-bin/dokserv?id=4376837&prov=M&dok_var=1&dok_ext=htm http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026743447&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT cottonrichard learningrastepbystepfunctionguidetodataanalysis |