Learning R. A Step-by-Step Function Guide to Data Analysis - Helion
ISBN: 978-14-493-5718-4
stron: 400, Format: ebook
Data wydania: 2013-09-09
Księgarnia: Helion
Cena książki: 109,65 zł (poprzednio: 127,50 zł)
Oszczędzasz: 14% (-17,85 zł)
Learn how to perform data analysis with the R language and software environment, even if you have little or no programming experience. With the tutorials in this hands-on guide, you’ll learn how to use the essential R tools you need to know to analyze data, including data types and programming concepts.
The second half of Learning R shows you real data analysis in action by covering everything from importing data to publishing your results. Each chapter in the book includes a quiz on what you’ve learned, and concludes with exercises, most of which involve writing R code.
- Write a simple R program, and discover what the language can do
- Use data types such as vectors, arrays, lists, data frames, and strings
- Execute code conditionally or repeatedly with branches and loops
- Apply R add-on packages, and package your own work for others
- Learn how to clean data you import from a variety of sources
- Understand data through visualization and summary statistics
- Use statistical models to pass quantitative judgments about data and make predictions
- Learn what to do when things go wrong while writing data analysis code
Osoby które kupowały "Learning R. A Step-by-Step Function Guide to Data Analysis", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Learning R. A Step-by-Step Function Guide to Data Analysis eBook -- spis treści
- Learning R
- Preface
- About This Book
- What Is in This Book
- Which Chapters Should I Read?
- Conventions Used in This Book
- Goals, Summaries, Quizzes, and Exercises
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- I. The R Language
- 1. Introduction
- Chapter Goals
- What Is R?
- Installing R
- Choosing an IDE
- Emacs + ESS
- Eclipse/Architect
- RStudio
- Revolution-R
- Live-R
- Other IDEs and Editors
- Your First Program
- How to Get Help in R
- Installing Extra Related Software
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 2. A Scientific Calculator
- Chapter Goals
- Mathematical Operations and Vectors
- Assigning Variables
- Special Numbers
- Logical Vectors
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 3. Inspecting Variables and Your Workspace
- Chapter Goals
- Classes
- Different Types of Numbers
- Other Common Classes
- Checking and Changing Classes
- Examining Variables
- The Workspace
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 4. Vectors, Matrices, and Arrays
- Chapter Goals
- Vectors
- Sequences
- Lengths
- Names
- Indexing Vectors
- Vector Recycling and Repetition
- Matrices and Arrays
- Creating Arrays and Matrices
- Rows, Columns, and Dimensions
- Row, Column, and Dimension Names
- Indexing Arrays
- Combining Matrices
- Array Arithmetic
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 5. Lists and Data Frames
- Chapter Goals
- Lists
- Creating Lists
- Atomic and Recursive Variables
- List Dimensions and Arithmetic
- Indexing Lists
- Converting Between Vectors and Lists
- Combining Lists
- NULL
- Pairlists
- Data Frames
- Creating Data Frames
- Indexing Data Frames
- Basic Data Frame Manipulation
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 6. Environments and Functions
- Chapter Goals
- Environments
- Functions
- Creating and Calling Functions
- Passing Functions to and from Other Functions
- Variable Scope
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 7. Strings and Factors
- Chapter Goals
- Strings
- Constructing and Printing Strings
- Formatting Numbers
- Special Characters
- Changing Case
- Extracting Substrings
- Splitting Strings
- File Paths
- Factors
- Creating Factors
- Changing Factor Levels
- Dropping Factor Levels
- Ordered Factors
- Converting Continuous Variables to Categorical
- Converting Categorical Variables to Continuous
- Generating Factor Levels
- Combining Factors
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 8. Flow Control and Loops
- Chapter Goals
- Flow Control
- if and else
- Vectorized if
- Multiple Selection
- Loops
- repeat Loops
- while Loops
- for Loops
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 9. Advanced Looping
- Chapter Goals
- Replication
- Looping Over Lists
- Looping Over Arrays
- Multiple-Input Apply
- Instant Vectorization
- Split-Apply-Combine
- The plyr Package
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 10. Packages
- Chapter Goals
- Loading Packages
- The Search Path
- Libraries and Installed Packages
- Installing Packages
- Maintaining Packages
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 11. Dates and Times
- Chapter Goals
- Date and Time Classes
- POSIX Dates and Times
- The Date Class
- Other Date Classes
- Conversion to and from Strings
- Parsing Dates
- Formatting Dates
- Time Zones
- Arithmetic with Dates and Times
- Lubridate
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 1. Introduction
- II. The Data Analysis Workflow
- 12. Getting Data
- Chapter Goals
- Built-in Datasets
- Reading Text Files
- CSV and Tab-Delimited Files
- Unstructured Text Files
- XML and HTML Files
- JSON and YAML Files
- Reading Binary Files
- Reading Excel Files
- Reading SAS, Stata, SPSS, and MATLAB Files
- Reading Other File Types
- Web Data
- Sites with an API
- Scraping Web Pages
- Accessing Databases
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 13. Cleaning and Transforming
- Chapter Goals
- Cleaning Strings
- Manipulating Data Frames
- Adding and Replacing Columns
- Dealing with Missing Values
- Converting Between Wide and Long Form
- Using SQL
- Sorting
- Functional Programming
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 14. Exploring and Visualizing
- Chapter Goals
- Summary Statistics
- The Three Plotting Systems
- Scatterplots
- Take 1: base Graphics
- Take 2: lattice Graphics
- Take 3: ggplot2 Graphics
- Line Plots
- Histograms
- Box Plots
- Bar Charts
- Other Plotting Packages and Systems
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 15. Distributions and Modeling
- Chapter Goals
- Random Numbers
- The sample Function
- Sampling from Distributions
- Distributions
- Formulae
- A First Model: Linear Regressions
- Comparing and Updating Models
- Plotting and Inspecting Models
- Other Model Types
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 16. Programming
- Chapter Goals
- Messages, Warnings, and Errors
- Error Handling
- Debugging
- Testing
- RUnit
- testthat
- Magic
- Turning Strings into Code
- Turning Code into Strings
- Object-Oriented Programming
- S3 Classes
- Reference Classes
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 17. Making Packages
- Chapter Goals
- Why Create Packages?
- Prerequisites
- The Package Directory Structure
- Your First Package
- Documenting Packages
- Checking and Building Packages
- Maintaining Packages
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercises
- 12. Getting Data
- III. Appendixes
- A. Properties of Variables
- B. Other Things to Do in R
- C. Answers to Quizzes
- D. Solutions to Exercises
- E. Bibliography
- Index
- About the Author
- Colophon
- Copyright