Skip to Content
Data Smart: Using Data Science to Transform Information into Insight
book

Data Smart: Using Data Science to Transform Information into Insight

by John W. Foreman
November 2013
Beginner to intermediate
432 pages
10h 39m
English
Wiley
Audiobook available
Content preview from Data Smart: Using Data Science to Transform Information into Insight

10

Moving from Spreadsheets into R

After spending the previous nine chapters injecting Excel directly into your veins, I'm now going to tell you to drop it. Well, not for everything, but let's be honest, Excel is not ideal for all analytics tasks.

Excel is awesome for learning analytics, because you can touch and see your data in every state as an algorithm changes it from input into output. But you came, you saw, you learned. Do you really need to go through all those steps manually every time? For example, do you really need to bake up your own optimization formulation to fit your own logistic regressions? Do you need to input the definitions of cosine similarity all yourself?

Now that you've learned it, you're allowed to cheat and have someone else do that for you! Think of yourself as Wolfgang Puck. Does he cook everything at all his restaurants? I sure hope not; otherwise, his skills vary wildly from airport to real world. Now that you've learned this stuff, you too should feel comfortable using other folks' implementations of these algorithms.

And that, among many other things (for example, referencing a whole table of data using one word) is why moving from Excel into the analytics-focused programming language called R is worth doing.

This chapter runs some of the previous chapters' analyses in R rather than Excel—same data, same algorithms, different environment. You'll see how easy this stuff can be!

Now, just as a warning, this chapter is not an intro tutorial of R. I'm ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building an Effective Data Science Practice: A Framework to Bootstrap and Manage a Successful Data Science Practice

Building an Effective Data Science Practice: A Framework to Bootstrap and Manage a Successful Data Science Practice

Vineet Raina, Srinath Krishnamurthy
Python: Advanced Predictive Analytics

Python: Advanced Predictive Analytics

Ashish Kumar, Joseph Babcock

Publisher Resources

ISBN: 9781118661468Purchase book