学习R语言.pdf

学习R语言.pdf
 

书籍描述

内容简介
《学习R语言(影印版)(英文版)》内容简介:即使你仅有极少甚至没有编程经验,你也能够学会如何使用R语言及其软件环境来进行数据分析。通过由科顿编著的这本书中的指导,你将学习如何使用你需要知道的必要R工具来分析数据,包括数据类型和编程概念。《学习R语言(影印版)(英文版)》的第二部分将通过涵盖从导入数据到发布数据的所有细节来为你展示实际生活中的数据分析。《学习R语言(影印版)(英文版)》的每个章节都包含一个基于你所学到知识的小测验并以习题结束,大部分习题都需要编写R代码。

编辑推荐
《学习R语言(影印版)(英文版)》由东南大学出版社出版。

名人推荐
“拥挤的R语言书籍领域现在有了一本全新的、大胆的、有趣的……令人愉悦且信息量极大的书。”
——John Verzani 纽约市立大学/Staten Island大学
“一本绝妙的读本——易于理解,具有大量清晰可行的实例。是当前讲解R语言核心组件的最佳书籍之一。”
——Rebecca Smith TDX Group的分析部门经理
“这就是你要寻找的R语言书籍!不要再犹豫了,直接买下它吧。”
——JD Long Cerebral Mastication.com的博主

作者简介
作者:(美国)科顿(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 is modular and is split into packages (more on this later), some of which contain vignettes, which are short documents on how to use the packages.You can browse all the vignettes on your machine using browseVignettes:
browseVignettes()
You can also access a speafic vignette using the vig nette function (but ifyour memory is as bad as mine, using browseVignettes combined with a page search is easier than trying to remember the name of a vignette and which package it's in):
vignette("Sweave", package = "utils")
The help search operator ?? and browseVignettes will only fmd things in packages that you have installed on your machine.If you want to look in any package, you canuse RSiteSearch, which runs a query at http://search.r-project.org.Multiword terms need to be wrapped in braces:
RSiteSearch("{Bayesian regression}").

购买书籍

当当网购书 京东购书 卓越购书

PDF电子书下载地址

相关书籍

搜索更多