售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright
Modern R Programming Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Installing and Configuring R and its Libraries
Introduction
Installing and configuring base R in Windows
Getting ready
How to do it...
How it works...
There's more...
See also
Installing and configuring base R in Linux
Getting ready
How to do it...
There's more...
See also
Installing and configuring RStudio IDE in Windows
Getting ready
How to do it…
How it works…
There's more…
See also
Installing and configuring RStudio IDE in Linux
Getting ready
How to do it…
How it works...
See also
Installing and configuring R tools for Visual Studio in Windows
Getting ready
How to do it…
How it works…
See also
Installing R libraries from various sources
Getting ready
How to do it…
The ggplot2 library
The devtools library
Installing a library from GitHub
Installing a library from the BioC repository
How it works…
There's more…
See also
Installing a specific version of R library
Getting ready
How to do it…
How it works…
Data Structures in R
Introduction
Creating a vector and accessing its properties
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a matrix and accessing its properties
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a data frame and accessing its properties
Getting ready
How to do it…
How it works…
There's more…
See also
Creating an array and accessing its properties
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a list from a combination of vector, matrix, and data frame
Getting ready
How to do it…
How it works…
There's more…
See also
Converting a matrix to a data frame and a data frame to a matrix
Getting ready
How to do it…
How it works…
There's more…
See also
Writing Customized Functions
Introduction
Writing your first function in R
Getting ready
How to do it…
How it works…
There’s more…
Writing functions with multiple arguments and use of default values
Getting ready
How to do it…
How it works…
There’s more…
Handling data types in input arguments
Getting ready
How to do it…
How it works…
There’s more…
Producing different output types and return values
Getting ready
How to do it…
How it works…
There’s more…
Making a recursive call to a function
Getting ready
How to do it…
How it works…
There’s more…
Handling exceptions and error messages
Getting ready
How to do it…
How it works…
There’s more…
See also
Conditional and Iterative Operations
Introduction
The use of the if conditional statement
Getting ready
How to do it…
How it works…
There’s more…
The use of the if…else conditional operator
Getting ready
How to do it…
How it works…
There’s more…
The use of the ifelse vectorised conditional operator
Getting ready
How to do it…
How it works…
There’s more…
See also
Writing a function using the switch operator
Getting ready
How to do it…
How it works…
There’s more…
Comparing the performance of switch and series of the if…else statements
Getting ready
How to do it…
How it works…
Using for loop for iterations
Getting ready
How to do it…
How it works…
Vectorised operation versus for loop
Getting ready
How to do it…
How it works…
R Objects and Classes
Introduction
Defining a new S3 class
Getting ready
How to do it…
How it works…
There's more…
See also
Defining methods for the S3 class
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a generic function and defining a method for the S3 class
Getting ready
How to do it…
How it works…
There's more…
Defining a new S4 class
Getting ready
How to do it…
How it works…
There's more…
See also
Defining methods for an S4 class
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a function to return an object of the S4 class
Getting ready
How to do it…
How it works…
There's more…
See also
Querying, Filtering, and Summarizing
Introduction
Using the pipe operator for data processing
Getting ready
How to do it…
How it works…
There's more…
See also
Efficient and fast summarization using the dplyr verbs
Getting ready
How to do it…
How it works…
There's more…
See also
Using the customized function within the dplyr verbs
Getting ready
How to do it...
How it works...
There's more…
See also
Using the select verb for data processing
Getting ready
How to do it...
How it works...
There's more…
See also
Using the filter verb for data processing
Getting ready
How to do it...
How it works...
Using the arrange verb for data processing
Getting ready
How to do it...
How it works...
There's more…
Using mutate for data processing
Getting ready
How to do it...
How it works...
There's more…
Using summarise to summarize dataset
Getting ready
How to do it...
How it works...
R for Text Processing
Introduction
Extracting unstructured text data from a plain web page
Getting ready
How to do it…
How it works…
There’s more…
Extracting text data from an HTML page
Getting ready
How to do it…
How it works…
There's more…
Extracting text data from an HTML page using the XML library
Getting ready
How to do it…
How it works…
Extracting text data from PubMed
Getting ready
How to do it…
How it works…
There's more…
Importing unstructured text data from a plain text file
Getting ready
How to do it…
How it works…
There's more…
Importing plain text data from a PDF file
Getting ready
How to do it…
How it works…
There's more…
Pre-processing text data for topic modeling and sentiment analysis
Getting ready
How to do it…
How it works…
There's more…
Creating a word cloud to explore unstructured text data
Getting ready
How to do it…
How it works…
There's more…
Using regular expression in text processing
Getting ready
How to do it…
How it works…
There's more…
R and Databases
Introduction
Installing the PostgreSQL database server
Getting ready
How to do it…
How it works…
Creating a new user in the PostgreSQL database server
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a table in a database in PostgreSQL
Getting ready
How to do it...
How it works…
There's more…
Creating a dataset in PostgreSQL from R
Getting ready
How to do it...
How it works...
Interacting with the PostgreSQL database from R
Getting ready
How to do it…
How it works…
There's more...
Creating and interacting with the SQLite database from R
Getting ready
How to do it...
How it works...
There's more…
Parallel Processing in R
Introduction
Creating an XDF file from CSV input
Getting ready
How to do it…
How it works…
There's more…
See also
Processing data as a chunk
Getting ready
How to do it…
How it works…
There's more…
See also
Comparing computation time with data frame and XDF
Getting ready
How to do it…
How it works…
There's more…
Linear regression with larger data (rxFastLiner)
Getting ready
How to do it…
How it works…
There's more…
See also
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜