Beschreibung
Master the programming language of choice among statisticians and data analysts worldwide
Coming to grips with R can be tough, even for seasoned statisticians and data analysts. Enter R For Dummies, the quick, easy way to master all the R you'll ever need. Requiring no prior programming experience and packed with practical examples, easy, step-by-step exercises, and sample code, this extremely accessible guide is the ideal introduction to R for complete beginners. It also covers many concepts that intermediate-level programmers will find extremely useful.
Master your R ABCs ? get up to speed in no time with the basics, from installing and configuring R to writing simple scripts and performing simultaneous calculations on many variablesPut data in its place ? get to know your way around lists, data frames, and other R data structures while learning to interact with other programs, such as Microsoft ExcelMake data dance to your tune ? learn how to reshape and manipulate data, merge data sets, split and combine data, perform calculations on vectors and arrays, and much moreVisualize it ? learn to use R's powerful data visualization features to create beautiful and informative graphical presentations of your dataGet statistical ? find out how to do simple statistical analysis, summarize your variables, and conduct classic statistical tests, such as t-testsExpand and customize R ? get the lowdown on how to find, install, and make the most of add-on packages created by the global R community for a wide variety of purposesOpen the book and find:Help downloading, installing, and configuring RTips for getting data in and out of RWays to use data frames and lists to organize dataHow to manipulate and process dataAdvice on fitting regression models and ANOVAHelpful hints for working with graphicsHow to code in RWhat R mailing lists and forums can do for you
Autorenportrait
Andrie de Vries is a market research consultant specializing in surveys, statistical analysis, and strategy.
Joris Meys is a statistician and R programmer with the faculty of bio-engineering at the University of Ghent.
Inhalt
Introduction 1
Part I: R You Ready? 7
Chapter 1: Introducing R: The Big Picture 9
Chapter 2: Exploring R 15
Chapter 3: The Fundamentals of R 31
Part II: Getting Down to Work in R 43
Chapter 4: Getting Started with Arithmetic 45
Chapter 5: Getting Started with Reading and Writing 71
Chapter 6: Going on a Date with R 93
Chapter 7: Working in More Dimensions 103
Part III: Coding in R 137
Chapter 8: Putting the Fun in Functions 139
Chapter 9: Controlling the Logical Flow 159
Chapter 10: Debugging Your Code 179
Chapter 11: Getting Help 193
Part IV: Making the Data Talk 203
Chapter 12: Getting Data into and out of R 205
Chapter 13: Manipulating and Processing Data 219
Chapter 14: Summarizing Data 253
Chapter 15: Testing Differences and Relations 275
Part V: Working with Graphics 299
Chapter 16: Using Base Graphics 301
Chapter 17: Creating Faceted Graphics with Lattice 317
Chapter 18: Looking At ggplot2 Graphics 333
Part VI: The Part of Tens 347
Chapter 19: Ten Things You Can Do in R That You Would've Done in Microsoft Excel 349
Chapter 20: Ten Tips on Working with Packages 359
Appendix: Installing R and RStudio 365
Index 371
Informationen zu E-Books
„E-Book“ steht für digitales Buch. Um diese Art von Büchern lesen zu können wird entweder eine spezielle Software für Computer, Tablets und Smartphones oder ein E-Book Reader benötigt. Da viele verschiedene Formate (Dateien) für E-Books existieren, gilt es dabei, einiges zu beachten.
Von uns werden digitale Bücher in drei Formaten ausgeliefert. Die Formate sind EPUB mit DRM (Digital Rights Management), EPUB ohne DRM und PDF. Bei den Formaten PDF und EPUB ohne DRM müssen Sie lediglich prüfen, ob Ihr E-Book Reader kompatibel ist. Wenn ein Format mit DRM genutzt wird, besteht zusätzlich die Notwendigkeit, dass Sie einen kostenlosen Adobe® Digital Editions Account besitzen. Wenn Sie ein E-Book, das Adobe® Digital Editions benötigt herunterladen, erhalten Sie eine ASCM-Datei, die zu Digital Editions hinzugefügt und mit Ihrem Account verknüpft werden muss. Einige E-Book Reader (zum Beispiel PocketBook Touch) unterstützen auch das direkte Eingeben der Login-Daten des Adobe Accounts – somit können diese ASCM-Dateien direkt auf das betreffende Gerät kopiert werden.
Da E-Books nur für eine begrenzte Zeit – in der Regel 6 Monate – herunterladbar sind, sollten Sie stets eine Sicherheitskopie auf einem Dauerspeicher (Festplatte, USB-Stick oder CD) vorsehen. Auch ist die Menge der Downloads auf maximal 5 begrenzt.