A beginner's guide to R

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zuur, Alain F. (VerfasserIn), Ieno, Elena N. (VerfasserIn), Meesters, Erik H. W. G. (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Dordrecht [u.a.] Springer 2009
Schriftenreihe:Use R!
Schlagworte:
Online-Zugang:Inhaltsverzeichnis
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!

MARC

LEADER 00000nam a2200000 c 4500
001 BV035406442
003 DE-604
005 20180222
007 t
008 090401s2009 ad|| |||| 00||| eng d
016 7 |a 992999596  |2 DE-101 
020 |a 9780387938363  |9 978-0-387-93836-3 
035 |a (OCoLC)740615973 
035 |a (DE-599)DNB992999596 
040 |a DE-604  |b ger  |e rakddb 
041 0 |a eng 
049 |a DE-91  |a DE-20  |a DE-945  |a DE-824  |a DE-473  |a DE-11  |a DE-355  |a DE-384  |a DE-19  |a DE-703  |a DE-188  |a DE-523  |a DE-83 
082 0 |a 519.50285  |2 22 
084 |a MR 2200  |0 (DE-625)123489:  |2 rvk 
084 |a QH 231  |0 (DE-625)141546:  |2 rvk 
084 |a ST 250  |0 (DE-625)143626:  |2 rvk 
084 |a ST 601  |0 (DE-625)143682:  |2 rvk 
084 |a MAT 620f  |2 stub 
084 |a 510  |2 sdnb 
084 |a DAT 368f  |2 stub 
084 |a 68N15  |2 msc 
100 1 |a Zuur, Alain F.  |e Verfasser  |4 aut 
245 1 0 |a A beginner's guide to R  |c Alain F. Zuur ; Elena N. Ieno ; Erik H. W. G. Meesters 
264 1 |a Dordrecht [u.a.]  |b Springer  |c 2009 
300 |a XV, 218 S.  |b Ill., graph. Darst. 
336 |b txt  |2 rdacontent 
337 |b n  |2 rdamedia 
338 |b nc  |2 rdacarrier 
490 0 |a Use R! 
650 0 7 |a R  |g Programm  |0 (DE-588)4705956-4  |2 gnd  |9 rswk-swf 
655 7 |0 (DE-588)4151278-9  |a Einführung  |2 gnd-content 
689 0 0 |a R  |g Programm  |0 (DE-588)4705956-4  |D s 
689 0 |5 DE-604 
700 1 |a Ieno, Elena N.  |e Verfasser  |4 aut 
700 1 |a Meesters, Erik H. W. G.  |e Verfasser  |4 aut 
776 0 8 |i Erscheint auch als  |n Online-Ausgabe  |z 978-0-387-93837-0 
856 4 2 |m HBZ Datenaustausch  |q application/pdf  |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017326998&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA  |3 Inhaltsverzeichnis 
999 |a oai:aleph.bib-bvb.de:BVB01-017326998 

Datensatz im Suchindex

DE-473_call_number 31/QH 231 WX 54691
DE-473_location 3
DE-BY-TUM_call_number 0002/DAT 368f 2009 A 5718
DE-BY-TUM_katkey 1691268
DE-BY-TUM_media_number 040006902409
DE-BY-UBG_katkey 2656229
DE-BY-UBG_media_number 013107270530
_version_ 1816712955030405120
adam_text Titel: A beginner s guide to R Autor: Zuur, Alain F. Jahr: 2009 Contents Preface................................................... vii Acknowledgements........................................... ix 1 Introduction............................................. 1 1.1 What Is R?........................................ 1 1.2 Downloading and Installing R......................... 2 1.3 An Initial Impression................................ 4 1.4 Script Code........................................ 7 1.4.1 The Art of Programming....................... 7 1.4.2 Documenting Script Code...................... 8 1.5 Graphing Facilities in R.............................. 10 1.6 Editors........................................... 12 1.7 Help Files and Newsgroups........................... 13 1.8 Packages.......................................... 16 1.8.1 Packages Included with the Base Installation....... 16 1.8.2 Packages Not Included with the Base Installation.................................. 17 1.9 General Issues in R.................................. 19 1.9.1 Quitting R and Setting the Working Directory...... 21 1.10 A History and a Literature Overview.................... 22 1.10.1 A Short Historical Overview of R................ 22 1.10.2 Books on R and Books Using R................. 22 1.11 Using This Book.................................... 24 1.11.1 If You Are an Instructor....................... 25 1.11.2 If You Are an Interested Reader with Limited R Experience.................................... 25 1.11.3 If You Are an R Expert........................ 25 1.11.4 If You Are Afraid of R........................ 25 1.12 Citing R and Citing Packages.......................... 26 1.13 Which R Functions Did We Learn?..................... 27 Contents . 29 Getting Data into R............................... 29 2.1 First Steps in R................• • •................... 29 2.1.1 Typing in Small Datasets......................... 2.1.2 Concatenating Data with the c Function . . .......... 2.1.3 Combining Variables with the c, cbind, and rbind Functions....................................... „ 2.1.4 Combining Data with the vector Function*........ 2.1.5 Combining Data Using a Matrix*................. - 2.1.6 Combining Data with the data. frame Function..... 42 2.1.7 Combining Data Using the list Function*......... 43 2.2 Importing Data..................................... 2.2.1 Importing Excel Data........................... * 2.2.2 Accessing Data from Other Statistical Packages**..... 51 2.2.3 Accessing a Database***......................... ~ 2.3 Which R Functions Did We Learn?...................... 5t 54 2.4 Exercises........................................... Accessing Variables and Managing Subsets of Data.............. 3.1 Accessing Variables from a Data Frame.................. 5^ 3.1.1 Thestr Function............................... Jy 3.1.2 The Data Argument in a Function................. 60 3.1.3 The $ Sign.................................... 61 3.1.4 The attach Function........................... 62 3.2 Accessing Subsets of Data............................. * 3.2.1 Sorting the Data............................... 66 3.3 Combining Two Datasets with a Common Identifier........ 6 3.4 Exporting Data...................................... 69 3.5 Recoding Categorical Variables......................... 71 3.6 Which R Functions Did We Learn?...................... 74 3.7 Exercises........................................... ^4 4 Simple Functions......................................... ?7 4.1 The tapply Function................................ ^ 4.1.1 Calculating the Mean Per Transect................. 78 4.1.2 Calculating the Mean Per Transect More Efficiently.................................... 7 4.2 The sapply and lapply Functions..................... 80 4.3 The summary Function............................... 8 4.4 The table Function................................. 82 4.5 Which R Functions Did We Learn? ....... 84 4.6 Exercises........... ........ .......... 84 5 An Introduction to Basic Plotting Tools........................ 85 5.1 The plot Function.................................. 85 52 Symbols, Colours, and Sizes___........................ 88 5.2.1 Changing Plotting Characters..................... 88 Contents xiii 5.2.2 Changing the Colour of Plotting Symbols........... 92 5.2.3 Altering the Size of Plotting Symbols............... 93 5.3 Adding a Smoothing Line............................. 95 5.4 Which R Functions Did We Learn?...................... 97 5.5 Exercises........................................... 97 6 Loops and Functions...................................... 99 6.1 Introduction to Loops................................ 99 6.2 Loops............................................. 101 6.2.1 Be the Architect of Your Code.................... 102 6.2.2 Step 1: Importing the Data....................... 102 6.2.3 Steps 2 and 3: Making the Scatterplot and Adding Labels....................................... 103 6.2.4 Step 4: Designing General Code................... 104 6.2.5 Step 5: Saving the Graph......................... 105 6.2.6 Step 6: Constructing the Loop.................... 107 6.3 Functions.......................................... 108 6.3.1 Zeros and NAs................................ 108 6.3.2 Technical Information........................... 110 6.3.3 A Second Example: Zeros and NAs................ Ill 6.3.4 A Function with Multiple Arguments............... 113 6.3.5 Foolproof Functions............................ 115 6.4 More on Functions and the if Statement................. 117 6.4.1 Playing the Architect Again...................... 118 6.4.2 Step 1: Importing and Assessing the Data........... 118 6.4.3 Step 2: Total Abundance per Site.................. 119 6.4.4 Step 3: Richness per Site......................... 120 6.4.5 Step 4: Shannon Index per Site.................... 121 6.4.6 Step 5: Combining Code......................... 122 6.4.7 Step 6: Putting the Code into a Function............ 122 6.5 Which R Functions Did We Learn?...................... 125 6.6 Exercises........................................... 125 7 Graphing Tools.......................................... 127 7.1 The Pie Chart....................................... 127 7.1.1 Pie Chart Showing Avian Influenza Data............ 127 7.1.2 The par Function.............................. 130 7.2 The Bar Chart and Strip Chart......................... 131 7.2.1 The Bar Chart Using the Avian Influenza Data....... 131 7.2.2 A Bar Chart Showing Mean Values with Standard Deviations.................................... 133 7.2.3 The Strip Chart for the Benthic Data............... 135 7.3 Boxplot............................................ 137 7.3.1 Boxplots Showing the Owl Data................... 137 7.3.2 Boxplots Showing the Benthic Data................ 140 Contents 7.4 Cleveland Dotplots................................... 141 7.4.1 Adding the Mean to a Cleveland Dotplot............ 143 7.5 Revisiting the plot Function.......................... ^5 7.5.1 The Generic plot Function...................... 145 7.5.2 More Options for the plot Function................ 146 7.5.3 Adding Extra Points, Text, and Lines............... I48 7.5.4 Using type = n ............................ 149 7.5.5 Legends...................................... 15° 7.5.6 Identifying Points.............................. 152 7.5.7 Changing Fonts and Font Size*................... l53 7.5.8 Adding Special Characters....................... 153 7.5.9 Other Useful Functions.......................... 154 7.6 The Pairplot........................................ 155 7.6.1 Panel Functions................................ 156 7.7 The Coplot......................................... 157 7.7.1 A Coplot with a Single Conditioning Variable........ 157 7.7.2 The Coplot with Two Conditioning Variables........ I61 7.7.3 Jazzing Up the Coplot*.......................... l62 7.8 Combining Types of Plots*............................ 164 7.9 Which R Functions Did We Learn?...................... 166 7.10 Exercises........................................... 167 An Introduction to the Lattice Package........................ 169 8.1 High-Level Lattice Functions........................... 169 8.2 Multipanel Scatterplots: xyplot........................ I70 8.3 Multipanel Boxplots: bwplot.......................... I73 8.4 Multipanel Cleveland Dotplots: dotplot................ 174 8.5 Multipanel Histograms: histogram.................... 176 8.6 Panel Functions..................................... I77 8.6.1 First Panel Function Example..................... 77 8.6.2 Second Panel Function Example................... 179 8.6.3 Third Panel Function Example*................... 181 8.7 3-D Scatterplots and Surface and Contour Plots............ 184 8.8 Frequently Asked Questions........................... 185 8.8.1 How to Change the Panel Order?.................. 186 8.8.2 How to Change Axes Limits and Tick Marks?........ 188 8.8.3 Multiple Graph Lines in a Single Panel............. I89 8.8.4 Plotting from Within a Loop*..................... 190 8.8.5 Updating a Plot................................ I91 8.9 Where to Go from Here?.............................. l91 8.10 Which R Functions Did We Learn?...................... l92 8.11 Exercises................ ........ 192 Contents xv 9 Common R Mistakes...................................... 195 9.1 Problems Importing Data............................. 195 9.1.1 Errors in the Source File......................... 195 9.1.2 Decimal Point or Comma Separation............... 195 9.1.3 Directory Names............................... 197 9.2 Attach Misery.................................... 197 9.2.1 Entering the Same attach Command Twice......... 197 9.2.2 Attaching Two Data Frames Containing the Same Variable Names................................ 198 9.2.3 Attaching a Data Frame and Demo Data............ 199 9.2.4 Making Changes to a Data Frame After Applying the attach Function............................ 200 9.3 Non-attach Misery................................. 201 9.4 The Log of Zero..................................... 202 9.5 Miscellaneous Errors................................. 203 9.5.1 The Difference Between 1 and 1.................... 203 9.5.2 The Colour of 0................................ 203 9.6 Mistakenly Saved the R Workspace...................... 204 References................................................. 207 Index..................................................... 211
any_adam_object 1
author Zuur, Alain F.
Ieno, Elena N.
Meesters, Erik H. W. G.
author_facet Zuur, Alain F.
Ieno, Elena N.
Meesters, Erik H. W. G.
author_role aut
aut
aut
author_sort Zuur, Alain F.
author_variant a f z af afz
e n i en eni
e h w g m ehwg ehwgm
building Verbundindex
bvnumber BV035406442
classification_rvk MR 2200
QH 231
ST 250
ST 601
classification_tum MAT 620f
DAT 368f
ctrlnum (OCoLC)740615973
(DE-599)DNB992999596
dewey-full 519.50285
dewey-hundreds 500 - Natural sciences and mathematics
dewey-ones 519 - Probabilities and applied mathematics
dewey-raw 519.50285
dewey-search 519.50285
dewey-sort 3519.50285
dewey-tens 510 - Mathematics
discipline Informatik
Soziologie
Mathematik
Wirtschaftswissenschaften
format Book
fullrecord <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01838nam a2200481 c 4500</leader><controlfield tag="001">BV035406442</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20180222 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">090401s2009 ad|| |||| 00||| eng d</controlfield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">992999596</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780387938363</subfield><subfield code="9">978-0-387-93836-3</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)740615973</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB992999596</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-91</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-945</subfield><subfield code="a">DE-824</subfield><subfield code="a">DE-473</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-355</subfield><subfield code="a">DE-384</subfield><subfield code="a">DE-19</subfield><subfield code="a">DE-703</subfield><subfield code="a">DE-188</subfield><subfield code="a">DE-523</subfield><subfield code="a">DE-83</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">519.50285</subfield><subfield code="2">22</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">QH 231</subfield><subfield code="0">(DE-625)141546:</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 601</subfield><subfield code="0">(DE-625)143682:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">MAT 620f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">510</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 368f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">68N15</subfield><subfield code="2">msc</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Zuur, Alain F.</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">A beginner's guide to R</subfield><subfield code="c">Alain F. Zuur ; Elena N. Ieno ; Erik H. W. G. Meesters</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Dordrecht [u.a.]</subfield><subfield code="b">Springer</subfield><subfield code="c">2009</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XV, 218 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="490" ind1="0" ind2=" "><subfield code="a">Use R!</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="655" ind1=" " ind2="7"><subfield code="0">(DE-588)4151278-9</subfield><subfield code="a">Einführung</subfield><subfield code="2">gnd-content</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="700" ind1="1" ind2=" "><subfield code="a">Ieno, Elena N.</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Meesters, Erik H. W. G.</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Erscheint auch als</subfield><subfield code="n">Online-Ausgabe</subfield><subfield code="z">978-0-387-93837-0</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&amp;doc_library=BVB01&amp;local_base=BVB01&amp;doc_number=017326998&amp;sequence=000002&amp;line_number=0001&amp;func_code=DB_RECORDS&amp;service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-017326998</subfield></datafield></record></collection>
genre (DE-588)4151278-9 Einführung gnd-content
genre_facet Einführung
id DE-604.BV035406442
illustrated Illustrated
index_date 2024-09-19T15:27:00Z
indexdate 2024-11-25T17:26:05Z
institution BVB
isbn 9780387938363
language English
oai_aleph_id oai:aleph.bib-bvb.de:BVB01-017326998
oclc_num 740615973
open_access_boolean
owner DE-91
DE-BY-TUM
DE-20
DE-945
DE-824
DE-473
DE-BY-UBG
DE-11
DE-355
DE-BY-UBR
DE-384
DE-19
DE-BY-UBM
DE-703
DE-188
DE-523
DE-83
owner_facet DE-91
DE-BY-TUM
DE-20
DE-945
DE-824
DE-473
DE-BY-UBG
DE-11
DE-355
DE-BY-UBR
DE-384
DE-19
DE-BY-UBM
DE-703
DE-188
DE-523
DE-83
physical XV, 218 S. Ill., graph. Darst.
publishDate 2009
publishDateSearch 2009
publishDateSort 2009
publisher Springer
record_format marc
series2 Use R!
spellingShingle Zuur, Alain F.
Ieno, Elena N.
Meesters, Erik H. W. G.
A beginner's guide to R
R Programm (DE-588)4705956-4 gnd
subject_GND (DE-588)4705956-4
(DE-588)4151278-9
title A beginner's guide to R
title_auth A beginner's guide to R
title_exact_search A beginner's guide to R
title_full A beginner's guide to R Alain F. Zuur ; Elena N. Ieno ; Erik H. W. G. Meesters
title_fullStr A beginner's guide to R Alain F. Zuur ; Elena N. Ieno ; Erik H. W. G. Meesters
title_full_unstemmed A beginner's guide to R Alain F. Zuur ; Elena N. Ieno ; Erik H. W. G. Meesters
title_short A beginner's guide to R
title_sort a beginner s guide to r
topic R Programm (DE-588)4705956-4 gnd
topic_facet R Programm
Einführung
url http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017326998&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA
work_keys_str_mv AT zuuralainf abeginnersguidetor
AT ienoelenan abeginnersguidetor
AT meesterserikhwg abeginnersguidetor