Learn R
eBook - ePub

Learn R

As a Language

  1. 466 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learn R

As a Language

About this book

Learning a computer language like R can be either frustrating, fun or boring. Having fun requires challenges that wake up the learner's curiosity but also provide an emotional reward for overcoming them. The book is designed so that it includes smaller and bigger challenges, in what I call playgrounds, in the hope that all readers will enjoy their path to R fluency. Fluency in the use of a language is a skill that is acquired through practice and exploration. For students and professionals in the biological sciences, humanities and many applied fields, recognizing the parallels between R and natural languages should help them feel at home with R. The approach I use is similar to that of a travel guide, encouraging exploration and describing the available alternatives and how to reach them. The intention is to guide the reader through the R landscape of 2024 and beyond.

What is new in the second edition?

  • Text expanded by more than 25% to include additional R features and gentler and more detailed explanations
  • Contains 24 new diagrams and flowcharts, seven new tables, and revised text and code examples for clarity
  • All three indexes were expanded, and answers to 28 frequently asked questions added

What will you find in this book?

  • Programming concepts explained as they apply to current R
  • Emphasis on the role of abstractions in programming
  • Few prescriptive rules—mostly the author's preferences together with alternatives
  • Presentation of the R language emphasizing the "R way of doing things"
  • Tutoring for "programming in the small" using scripts for data analysis
  • Explanation of the differences between R proper and extensions for data wrangling
  • The grammar of graphics is described as a language for the construction of data visualisations
  • Examples of data exchange between R and the foreign world using common file formats
  • Coaching to become an independent R user, capable of writing original scripts and solving future challenges

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Learn R by Pedro J. Aphalo in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Cover Page
  2. Half-Title Page
  3. Series Page
  4. Title Page
  5. Copyright Page
  6. Contents
  7. List of Figures
  8. List of Tables
  9. Preface
  10. 1 Using the Book to Learn R
  11. 2 R: The Language and the Program
  12. 3 Base R: “Words” and “Sentences”
  13. 4 Base R: “Collective Nouns”
  14. 5 Base R: “Paragraphs” and “Essays”
  15. 6 Base R: Adding New “Words”
  16. 7 Base R: “Verbs” and “Nouns” for Statistics
  17. 8 R Extensions: Data Wrangling
  18. 9 R Extensions: Grammar of Graphics
  19. 10 Base R and Extensions: Data Sharing
  20. Bibliography
  21. General Index
  22. Alphabetic Index of R Names
  23. Index of R Names by Category
  24. Frequently Asked Questions