Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning R Programming

You're reading from  Learning R Programming

Product type Book
Published in Oct 2016
Publisher Packt
ISBN-13 9781785889776
Pages 582 pages
Edition 1st Edition
Languages
Author (1):
Kun Ren Kun Ren
Profile icon Kun Ren

Table of Contents (21) Chapters

Learning R Programming
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Quick Start 2. Basic Objects 3. Managing Your Workspace 4. Basic Expressions 5. Working with Basic Objects 6. Working with Strings 7. Working with Data 8. Inside R 9. Metaprogramming 10. Object-Oriented Programming 11. Working with Databases 12. Data Manipulation 13. High-Performance Computing 14. Web Scraping 15. Boosting Productivity

Summary


In this chapter, you learned the syntax of assignment, conditional expressions, and loops. In the section on assignment, you got to know the naming rules of variables and how to walk around. In the section on conditional expressions, you learned how to use the if statement as either a statement or an expression, and how ifelse()is distinct from if when dealing with vectors. In the section on loops, you learned about the similarities and differences between for loops and while loops. Now, we are equipped with the basic expressions to control the logic flow of an R program.

In the next chapter, you will use what you learned in the previous chapters and see what you can do with the basic objects representing data and basic expressions representing our logic. You will learn about basic functions in various categories as the building blocks of data transformation and statistical analysis.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}