R For Dummies
eBook - ePub

R For Dummies

Andrie de Vries, Joris Meys

Share book
  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

R For Dummies

Andrie de Vries, Joris Meys

Book details
Book preview
Table of contents
Citations

About This Book

Mastering R has never been easier

Picking up R can be tough, even for seasoned statisticians and data analysts. R For Dummies, 2 nd Edition provides a quick and painless way to master all the R you'll ever need. Requiring no prior programming experience and packed with tons of practical examples, step-by-step exercises, and sample code, this friendly and accessible guide shows you how to know your way around lists, data frames, and other R data structures, while learning to interact with other programs, such as Microsoft Excel. You'll learn how to reshape and manipulate data, merge data sets, split and combine data, perform calculations on vectors and arrays, and so much more.

R is an open source statistical environment and programming language that has become very popular in varied fields for the management and analysis of data. R provides a wide array of statistical and graphical techniques, and has become the standard among statisticians for software development and data analysis. R For Dummies, 2 nd Edition takes the intimidation out of working with R and arms you with the knowledge and know-how to master the programming language of choice among statisticians and data analysts worldwide.

  • Covers downloading, installing, and configuring R
  • Includes tips for getting data in and out of R
  • Offers advice on fitting regression models and ANOVA
  • Provides helpful hints for working with graphics

R For Dummies, 2 nd Edition is an ideal introduction to R for complete beginners, as well as an excellent technical reference for experienced R programmers.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
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.
Do you support text-to-speech?
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.
Is R For Dummies an online PDF/ePUB?
Yes, you can access R For Dummies by Andrie de Vries, Joris Meys in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Programación. We have over one million books available in our catalogue for you to explore.

Information

Publisher
For Dummies
Year
2015
ISBN
9781119055839
Part I

Getting Started with R Programming

image
image
Visit www.dummies.com for great Dummies content online.
In this part …
check.png
Introducing R programming concepts.
check.png
Creating your first script.
check.png
Making clear, legible code.
check.png
Visit www.dummies.com for great Dummies content online.
Chapter 1

Introducing R: The Big Picture

In This Chapter
arrow
Discovering the benefits of R
arrow
Identifying some programming concepts that make R special
With an estimated worldwide user base of more than 2 million people, the R language has rapidly grown and extended since its origin as an academic demonstration language in the 1990s.
Some people would argue — and we think they’re right — that R is much more than a statistical programming language. It’s also
  • A very powerful tool for all kinds of data processing and manipulation
  • A community of programmers, users, academics, and practitioners
  • A tool that makes all kinds of publication-quality graphics and data visualizations
  • A collection of freely distributed add-on packages
  • A versatile toolbox for extensive automation of your work
In this chapter, we fill you in on the benefits of R, as well as its unique features and quirks.
tip
You can download R at www.r-project.org. This website also provides more information on R and links to the online manuals, mailing lists, conferences, and publications.

Recognizing the Benefits of Using R

Of the many attractive benefits of R, a few stand out: It’s actively maintained, it has good connectivity to various types of data and other systems, and it’s versatile enough to solve problems in many domains. Possibly best of all, it’s available for free, in more than one sense of the word.

It comes as free, open-source code

R is available under an open-source license, which means that anyone can download and modify the code. This freedom is often referred to as “free as in speech.” R is also available free of charge — a second kind of freedom, sometimes referred to as “free as in beer.” In practical terms, this means that you can download and use R free of charge.
As a result of this freedom, many excellent programmers have contributed improvements and fixes to the R code. For this reason, R is very stable and reliable.
technicalstuff
Any freedom also has associated obligations. In the case of R, these obligations are described in the conditions of the license under which it is released: GNU General Public License (GPL), Version 2. The full text of the license is available at www.r-project.org/COPYING. It’s important to stress that the GPL does not pertain to your usage of R. There are no obligations for using the software — the obligations just apply to redistribution. In short, if you change and redistribute the R source code, you have to make those changes available for anybody else to use.

It runs anywhere

The R Core Team has put a lot of effort into making R available for different types of hardware and software. This means that R is available for Windows, Unix systems (such as Li...

Table of contents