万本电子书0元读

万本电子书0元读

顶部广告

Modern R Programming Cookbook电子书

售       价:¥

14人正在读 | 0人评论 9.8

作       者:Jaynal Abedin

出  版  社:Packt Publishing

出版时间:2017-10-10

字       数:23.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Recipes for emerging developers in R programming and data scientists to simplify their R programming capabilities About This Book ? Develop strategies to speed up your R code ? Tackle programming problems and explore both functional and object-oriented programming techniques ? Learn how to address the core problems of programming in R with the most popular R packages for common tasks Who This Book Is For This book is for developers who would like to enhance the R programming skills. Basic knowledge of R programming is assumed. What You Will Learn ? Install R and its various IDE for a given platform along with installing libraries from different repositories and version control ? Learn about basic data structures in R and how to work with them ? Write customized R functions and handle recursions, exceptions in R environments ? Create the data processing task as a step by step computer program and execute using dplyr ? Extract and process unstructured text data ? Interact with database management system to develop statistical applications ? Formulate and implement parallel processing in R In Detail R is a powerful tool for statistics, graphics, and statistical programming. It is used by tens of thousands of people daily to perform serious statistical analyses. It is a free, open source system whose implementation is the collective accomplishment of many intelligent, hard-working people. There are more than 2,000 available add-ons, and R is a serious rival to all commercial statistical packages. The objective of this book is to show how to work with different programming aspects of R. The emerging R developers and data science could have very good programming knowledge but might have limited understanding about R syntax and semantics. Our book will be a platform develop practical solution out of real world problem in scalable fashion and with very good understanding. You will work with various versions of R libraries that are essential for scalable data science solutions. You will learn to work with Input / Output issues when working with relatively larger dataset. At the end of this book readers will also learn how to work with databases from within R and also what and how meta programming helps in developing applications. Style and approach This book will be a companion for R programmer and emerging developers in R programming areas. This book will contain recipes related to advanced R programming which will enable users to solve complex problems efficiently.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部