Exploring everyday things with R and Ruby /
If you're curious about how things work, this fun and intriguing guide will help you find real answers to everyday problems. By using fundamental math and doing simple programming with the Ruby and R languages, you'll learn how to model a problem and work toward a solution. All you need is...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly Media,
2012.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- 1. The Hat and the Whip
- Ruby
- Why Ruby
- Installing Ruby
- Running Ruby
- Requiring External Libraries
- Basic Ruby
- Everything Is an Object
- Shoes
- What Is Shoes?
- A Rainbow of Shoes
- Installing Shoes
- Programming Shoes
- Wrap-up
- 2. Into the Matrix
- Introducing R
- Using R
- The R Console
- Sourcing Files and the Command Line
- Packages
- Programming R
- Variables and Functions
- Conditionals and Loops
- Data Structures
- Importing Data
- Charting
- Basic Graphs
- Introducing ggplot2
- Wrap-up
- 3. 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
- Wrap-up
- 4. How to Be an Armchair Economist
- The Invisible Hand
- A Simple Market Economy
- The Producer
- The Consumer
- Some Convenience Methods
- The Simulation
- Analyzing the Simulation.
- Note continued: Resource Allocation by Price
- The Producer
- The Consumer
- Market
- The Simulation
- Analyzing the Second Simulation
- Price Controls
- Wrap-up
- 5. 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
- MailMiner
- Number of Messages by Day of Week
- Number of Messages by Month
- Number of Messages by Hour of the Day
- Interactions
- Comparative Interactions
- Text Mining
- Wrap-up
- 6. In a Heartbeat
- My Beating Heart
- Auscultation
- Homemade Digital Stethoscope
- Extracting Data from Sound
- Generating the Heart Sounds Waveform
- Finding the Heart Rate
- Oximetry
- Homemade Pulse Oximeter
- Extracting Data from Video
- Generating the Heartbeat Waveform and Calculating the Heart Rate
- Wrap-up
- 7. Schooling Fish and Flocking Birds
- The Origin of Boids
- Simulation
- Roids
- The Boid Flocking Rules.
- Note continued: Supporting Rules
- A Variation on the Rules
- Going Round and Round
- Putting in Obstacles
- Wrap-up
- 8. Money, Sex, and Evolution
- It's a Good Life
- Money
- Sex
- Birth and Death
- The Changes
- Evolution
- What We Will Be Changing
- Implementation
- Wrap-up.