基本介紹
內容簡介
《學習R語言(影印版)(英文版)》由東南大學出版社出版。
作者簡介
作者:(美國)科頓(Richard Cotton)
圖書目錄
Preface
Part Ⅰ.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 Work, space
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: Exerases
6.Environments and Functions,
Chapter Goals
Environments
Functions
Creating and Calling Functions
Passing Functions to and from Other Functions
Variable Scope
Summary
Test Youry Knowledge: Quiz
Test Your Knowledge: Exercises
7.Strings and Factors,
Chapter Goals
Strings
Constructing and Printing Strings
Formatting Numbers
Speaal 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.Dated 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
……
Part Ⅱ.The Data Analysis Workflow
12.Getting Data
13.Cleaning and Transforming
14.Exploring and Visualizing
15.Distributions and Modeling
16.Programming
17.Making Packages
Part Ⅲ.Appendixes
A.Properties of Variables
B.Other Things to Do in R
C.Answers to Quizzes
D.Solutions to Exercises
Bibliography
Index
名人推薦
“擁擠的R語言書籍領域現在有了一本全新的、大膽的、有趣的……令人愉悅且信息量極大的書。”
——John Verzani 紐約市立大學/Staten Island大學
“一本絕妙的讀本——易於理解,具有大量清晰可行的實例。是當前講解R語言核心組件的最佳書籍之一。”
——Rebecca Smith TDX Group的分析部門經理
“這就是你要尋找的R語言書籍!不要再猶豫了,直接買下它吧。”
——JD Long Cerebral Mastication.com的博主