Skip to content

Exploring Everyday Things with R and Ruby

Spend $50 to get a free DVD!

ISBN-10: 1449315151

ISBN-13: 9781449315153

Edition: 2012

Authors: Sau Sheong Chang

List price: $23.99
Blue ribbon 30 day, 100% satisfaction guarantee!
Out of stock
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!


Programming is not just for geeks. If you’re curious about how things work, and want to get programmatic solutions to everyday problems, this intriguing book will help you find what you’re looking for. By using some fundamental math and simple Ruby and R constructs, you’ll learn how to model the problem and work toward a solution.Discover reasons why things are the way they are by spelunking data freely available on the Internet. You’ll model and simulate environments and systems, and then observe and analyze the results. See the world around you through programming eyes.
Customers also bought

Book details

List price: $23.99
Copyright year: 2012
Publisher: O'Reilly Media, Incorporated
Publication date: 7/13/2012
Binding: Paperback
Pages: 252
Size: 7.00" wide x 9.50" long x 0.75" tall
Weight: 0.902
Language: English

I have been in software development, mostly web applications and recently cloud- and data-related systems, for almost 17 years and I’m still a keen and enthusiastic programmer. While I’ve done Java for more than 10 years, I’m a born-again Ruby convert, actively programming in Ruby for the past 6 years and have recently started with R for about a year. Most of my professional work as well as personal projects involve the Internet and more recently cloud and big data related technologies such as Hadoop. I am active in the local developer communities, especially in the Singapore Ruby Brigade. In April 2011, I co-organized the first and largest Ruby conferences in Southeast…    

The Hat and the Whip
Why Ruby
Installing Ruby
Running Ruby
Requiring External Libraries
Basic Ruby
Everything Is an Object
What Is Shoes?
A Rainbow of Shoes
Installing Shoes
Programming Shoes
Into the Matrix
Introducing R
Using R
The R Console
Sourcing Files and the Command Line
Programming R
Variables and Functions
Conditionals and Loops
Data Structures
Importing Data
Basic Graphs
Introducing ggplot2
Offices and Restrooms
The Simple Scenario
Representing Restrooms and Such
The First Simulation
Interpreting the Data
The Second Simulation
The Third Simulation
The Final Simulation
How to Bean Armchair Economist
The Invisible Hand
A Simple Market Economy
The Producer
The Consumer
Some Convenience Methods
The Simulation
Analyzing the Simulation
Resource Allocation by Price
The Producer
The Consumer
The Simulation
Analyzing the Second Simulation
Price Controls
Discover Yourself Through Email
The Idea
Grab and Parse
The Emailing Habits of Enron Executives
Discover Yourself
Number of Messages by Day of the Month
Number of Messages by Day of Week
Number of Messages by Month
Number of Messages by Hour of the Day
Comparative Interactions
Text Mining
In a Heartbeat
My Beating Heart
Homemade Digital Stethoscope
Extracting Data from Sound
Generating the Heart Sounds Waveform
Finding the Heart Rate
Homemade Pulse Oximeter
Extracting Data from Video
Generating the Heartbeat Waveform and Calculating the Heart Rate
Schooling Fish and Flocking Birds
The Origin of Boids
The Boid Flocking Rules
Supporting Rules
A Variation on the Rules
Going Round and Round
Putting in Obstacles
Money, Sex, and Evolution
It's a Good Life
Birth and Death
The Changes
What We Will Be Changing