Home Page Icon
Home Page
Table of Contents for
Title
Close
Title
by Larry A. Pace
R Recipes: A Problem-Solution Approach
Cover
Title
Copyright
Contents at a glance
Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Migrating to R: As Easy As 1, 2, 3
Getting R Up and Running on Your System
Okay, So I Have R. What’s Next?
Understanding the Data Types in R
Handling Missing Data in R
Working with Vectors in R
Working with Matrices in R
Looking Backward and Forward
Chapter 2: Input and Output
Recipe 2-1. Inputting and Outputting Data
Problem
Solution
Recipe 2-2. Cleaning Up Data
Problem
Solution
Recipe 2-3. Dealing with Text Data
Problem
Solution
Recipe 2-4. Getting Data from the Internet
Problem
Solution
Chapter 3: Data Structures
Recipe 3-1. How to Work with Vectors
Problem
Solution
Recipe 3-2. How to Work with Matrices
Problem
Solution
Recipe 3-3. How to Work with Lists
Problem
Solution
Recipe 3-4. Working with Data Frames
Problem
Solution
Chapter 4: Merging and Reshaping Datasets
Recipe 4-1. Merging Datasets by a Common Variable
Problem
Solution
Recipe 4-2. Adding Rows and Columns
Problem
Solution
Recipe 4-3. Reshaping a Dataset
Problem
Solution
Recipe 4-4. Stacking and Unstacking Data
Problem
Solution
Chapter 5: Working with Dates and Strings
Recipe 5-1. Working with Dates and Times
Problem
Solution
Recipe 5-2. Working with Character Strings
Problem
Solution
Chapter 6: Working with Tables
Recipe 6-1. Working with One-Way Tables
Problem
Solution
Recipe 6-2. Working with Two-Way Tables
Problem
Solution
Recipe 6-3. Analyzing One- and Two-Way Tables
Problem
Solution
Recipe 6-4. Working with Higher-Order Tables
Problem
Solution
Chapter 7: Summarizing and Describing Data
Recipe 7-1. Creating Simple Frequency Distributions
Problem
Solution
Recipe 7-2. Creating Grouped Frequency Distributions
Problem
Solution
Recipe 7-3. Calculating Summary Statistics
Problem
Solution
Recipe 7-4. Working with Quantiles
Problem
Solution
Chapter 8: Graphics and Data Visualization
Recipe 8-1. Getting the Colors You Want
Problem
Solution
Recipe 8-2. Using the Standard Graphs
Problem
Solution
Recipe 8-3. Using Graphics for Exploratory Data Analysis
Problem
Solution
Recipe 8-4. Using Graphics for Data Visualization
Problem
Solution
Chapter 9: Probability Distributions
Recipe 9-1. Finding Areas Under the Standard Normal Curve
Problem
Solution
Recipe 9-2. Working with Binomial Probabilities
Problem
Solution
Recipe 9-3. Working with Poisson Probabilities
Problem
Solution
Recipe 9-4. Finding p Values and Critical Values of t, F, and Chi-Square
Problem
Solution
Chapter 10: Hypothesis Tests for Means, Ranks, or Proportions
Recipe 10-1. One-Sample Tests
Problem
Solution
Recipe 10-2. Two-Sample Tests for Related Means, Ranks, and Proportions
Problem
Solution
Recipe 10-3. Two-Sample Tests for Independent Means, Ranks, and Proportions
Problem
Solution
Recipe 10-4. Tests for Three or More Means
Problem
Solution
Recipe 10-5. Repeated-Measures Designs
Problem
Solution
Chapter 11: Relationships Between and Among Variables
Recipe 11-1. Determining Whether Two Scale Variables Are Correlated
Problem
Solution
Recipe 11-2. Special Cases of the Correlation Coefficient
Problem
Solution
Recipe 11-3. A Brief Introduction to Multiple Regression
Problem
Solution
Chapter 12: Contemporary Statistical Methods
Recipe 12-1. Resampling Techniques
Problem
Solution
Recipe 12-2. Making Inferences About Means from Real Data
Problem
Solution
Recipe 12-3. Permutation Tests
Problem
Solution
Chapter 13: Writing Reusable Functions
Recipe 13-1. Understanding R Functions
Problem
Solution
Recipe 13-2. Writing Functions That Produce Other Functions
Problem
Solution
Recipe 13-3. Writing Functions That Request User Input
Problem
Solution
Recipe 13-4. Taking R to the Web
Problem
Solution
Chapter 14: Working with Financial Data
Recipe 14-1. Getting and Visualizing Financial Data
Problem
Solution
Recipe 14-2. Analyzing Stock Returns
Problem
Solution
Recipe 14-3. Comparing Stocks
Problem
Solution
Recipe 14-4. A Brief Introduction to Portfolios
Problem
Solution
Chapter 15: Dealing with Big Data
Recipe 15-1. Parallel R
Problem
Solution
Recipe 15-2. Using Data Tables
Problem
Solution
Recipe 15-3. Compiled Code and Preallocation
Problem
Solution
Chapter 16: Mining the Gold in Data and Text
Recipe 16-1. Reducing the Dimensionality of Data
Problem
Solution
Recipe 16-2. Finding Clusters of Individuals or Objects
Problem
Solution
Recipe 16-3. Looking for Associations
Problem
Solution
Recipe 16-4. Mining Text: A Brief Introduction
Problem
Solution
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
Copyright
R Recipes
A Problem-Solution Approach
Larry A. Pace
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset