R for Data Science: Import, Tidy, Transform, Visualize, and Model Data
Publisher: O'Reilly Media
Published: Jan 05, 2017
Language: eng
Number of pages: 522
ISBN-13: 9781491910399
Table of contents: title: Preface
pagenum: ix; label: Part I
title: Explore; label: 1
title: Data Visualization with ggplot2
pagenum: 3; title: Introduction
pagenum: 3; title: First Steps
pagenum: 4; title: Aesthetic Mappings
pagenum: 7; title: Common Problems
pagenum: 13; title: Facets
pagenum: 14; title: Geometric Objects
pagenum: 16; title: Statistical Transformations
pagenum: 22; title: Position Adjustments
pagenum: 27; title: Coordinate Systems
pagenum: 31; title: The Layered Grammar of Graphics
pagenum: 34; label: 2
title: Workflow: Basics
pagenum: 37; title: Coding Basics
pagenum: 37; title: What's in a Name?
pagenum: 38; title: Calling Functions
pagenum: 39; label: 3
title: Data Transformation with dplyr
pagenum: 43; title: Introduction
pagenum: 43; title: Filter Rows with filter()
pagenum: 45; title: Arrange Rows with arrange()
pagenum: 50; title: Select Columns with select()
pagenum: 51; title: Add New Variables with mutate()
pagenum: 54; title: Grouped Summaries with summarize()
pagenum: 59; title: Grouped Mutates (and Filters)
pagenum: 73; label: 4
title: Workflow: Scripts
pagenum: 77; title: Running Code
pagenum: 78; title: RStudio Diagnostics
pagenum: 79; label: 5
title: Exploratory Data Analysis
pagenum: 81; title: Introduction
pagenum: 81; title: Questions
pagenum: 82; title: Variation
pagenum: 83; title: Missing Values
pagenum: 91; title: Covariation
pagenum: 93; title: Patterns and Models
pagenum: 105; title: ggplot2 Calls
pagenum: 108; title: Learning More
pagenum: 108; label: 6
title: Workflow: Projects
pagenum: 111; title: What Is Real?
pagenum: 111; title: Where Does Your Analysis Live?
pagenum: 113; title: Paths and Directories
pagenum: 113; title: RStudio Projects
pagenum: 114; title: Summary
pagenum: 116; label: Part II
title: Wrangle; label: 7
title: Tibbles with tibble
pagenum: 119; title: Introduction
pagenum: 119; title: Creating Tibbles
pagenum: 119; title: Tibbles Versus data.frame
pagenum: 121; title: Interacting with Older Code
pagenum: 123; label: 8
title: Data Import with readr
pagenum: 125; title: Introduction
pagenum: 125; title: Getting Started
pagenum: 125; title: Parsing a Vector
pagenum: 129; title: Parsing a File
pagenum: 137; title: Writing to a File
pagenum: 143; title: Other Types of Data
pagenum: 145; label: 9
title: Tidy Data with tidyr
pagenum: 147; title: Introduction
pagenum: 147; title: Tidy Data
pagenum: 148; title: Spreading and Gathering
pagenum: 151; title: Separating and Pull
pagenum: 157; title: Missing Values
pagenum: 161; title: Case Study
pagenum: 163; title: Nontidy Data
pagenum: 168; label: 10
title: Relational Data with dplyr
pagenum: 171; title: Introduction
pagenum: 171; title: nycflights13
pagenum: 172; title: Keys
pagenum: 175; title: Mutating Joins
pagenum: 178; title: Filtering Joins
pagenum: 188; title: Join Problems
pagenum: 191; title: Set Operations
pagenum: 192; label: 11
title: Strings with stringr
pagenum: 195; title: Introduction
pagenum: 195; title: String Basics
pagenum: 195; title: Matching Patterns with Regular Expressions
pagenum: 200; title: Tools
pagenum: 207; title: Other Types of Pattern
pagenum: 218; title: Other Uses of Regular Expressions
pagenum: 221; title: stringi
pagenum: 222; label: 12
title: Factors with forcats
pagenum: 223; title: Introduction
pagenum: 223; title: Creating Factors
pagenum: 224; title: General Social Survey
pagenum: 225; title: Modifying Factor Order
pagenum: 227; title: Modifying Factor Levels
pagenum: 232; label: 13
title: Dates and Times with lubridate
pagenum: 237; title: Introduction
pagenum: 237; title: Creating Date/Times
pagenum: 238; title: Date-Time Components
pagenum: 243; title: Time Spans
pagenum: 249; title: Time Zones
pagenum: 254; label: Part III
title: Program; label: 14
title: Pipes with magrittr
pagenum: 261; title: Introduction
pagenum: 261; title: Piping Alternatives
pagenum: 261; title: When Not to Use the Pipe
pagenum: 266; title: Other Tools from magrittr
pagenum: 267; label: 15
title: Functions
pagenum: 269; title: Introduction
pagenum: 269; title: When Should You Write a Function?
pagenum: 270; title: Functions Are for Humans and Computers
pagenum: 273; title: Conditional Execution
pagenum: 276; title: Function Arguments
pagenum: 280; title: Return Values
pagenum: 285; title: Environment
pagenum: 288; label: 16
title: Vectors
pagenum: 291; title: Introduction
pagenum: 291; title: Vector Basics
pagenum: 292; title: Important Types of Atomic Vector
pagenum: 293; title: Using Atomic Vectors
pagenum: 296; title: Recursive Vectors (Lists)
pagenum: 302; title: Attributes
pagenum: 307; title: Augmented Vectors
pagenum: 309; label: 17
title: Iteration with purrr
pagenum: 313; title: Introduction
pagenum: 313; title: For Loops
pagenum: 314; title: For Loop Variations
pagenum: 317; title: For Loops Versus Functionals
pagenum: 322; title: The Map Functions
pagenum: 325; title: Dealing with Failure
pagenum: 329; title: Mapping over Multiple Arguments
pagenum: 332; title: Walk
pagenum: 335; title: Other Patterns of For Loops
pagenum: 336; label: Part IV
title: Model; label: 18
title: Model Basics with modelr
pagenum: 345; title: Introduction
pagenum: 345; title: A Simple Model
pagenum: 346; title: Visualizing Models
pagenum: 354; title: Formulas and Model Families
pagenum: 358; title: Missing Values
pagenum: 371; title: Other Model Families
pagenum: 372; label: 19
title: Model Building
pagenum: 375; title: Introduction
pagenum: 375; title: Why Are Low-Quality Diamonds More Expensive?
pagenum: 376; title: What Affects the Number of Daily Flights?
pagenum: 384; title: Learning More About Models
pagenum: 396; label: 20
title: Many Models with purrr and broom
pagenum: 397; title: Introduction
pagenum: 397; title: gapminder
pagenum: 398; title: List-Columns
pagenum: 409; title: Creating List-Columns
pagenum: 411; title: Simplifying List-Columns
pagenum: 416; title: Making Tidy Data with broom
pagenum: 419; label: Part V
title: Communicate; label: 21
title: R Markdown
pagenum: 423; title: Introduction
pagenum: 423; title: R Markdown Basics
pagenum: 424; title: Text Formatting with Markdown
pagenum: 427; title: Code Chunks
pagenum: 428; title: Troubleshooting
pagenum: 435; title: YAML Header
pagenum: 435; title: Learning More
pagenum: 438; label: 22
title: Graphics for Communication with ggplot2
pagenum: 441; title: Introduction
pagenum: 441; title: Label
pagenum: 442; title: Annotations
pagenum: 445; title: Scales
pagenum: 451; title: Zooming
pagenum: 461; title: Themes
pagenum: 462; title: Saving Your Plots
pagenum: 464; title: Learning More
pagenum: 467; label: 23
title: R Markdown Formats
pagenum: 469; title: Introduction
pagenum: 469; title: Output Options
pagenum: 470; title: Documents
pagenum: 470; title: Notebooks
pagenum: 471; title: Presentations
pagenum: 472; title: Dashboards
pagenum: 473; title: Interactivity
pagenum: 474; title: Websites
pagenum: 477; title: Other Formats
pagenum: 477; title: Learning More
pagenum: 478; label: 24
title: R Markdown Workflow
pagenum: 479; title: Index
pagenum: 483