Modern R Programming Cookbook Recipes to Simplify Your Statistical Applications

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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.

Author(s): Jaynal Abedin
Publisher: Packt
Year: 2017

Language: English
Pages: 225
Tags: Programming, Data Science, R, RStudio

Cover......Page 1
Copyright......Page 3
Credits......Page 4
About the Author......Page 5
About the Reviewer......Page 6
www.PacktPub.com......Page 7
Customer Feedback......Page 8
Table of Contents......Page 9
Preface......Page 18
Introduction......Page 23
Getting ready......Page 24
How to do it.........Page 25
How it works.........Page 34
See also......Page 40
How to do it.........Page 41
Getting ready......Page 43
How to do it…......Page 44
How it works…......Page 46
There's more…......Page 47
How to do it…......Page 48
Getting ready......Page 51
How it works…......Page 52
Installing R libraries from various sources......Page 53
The ggplot2 library......Page 54
How it works…......Page 55
Getting ready......Page 56
How it works…......Page 57
Introduction......Page 58
Getting ready......Page 59
How to do it…......Page 60
See also......Page 62
How to do it…......Page 63
How it works…......Page 64
There's more…......Page 65
How to do it…......Page 66
How it works…......Page 67
See also......Page 68
How to do it…......Page 69
There's more…......Page 70
Creating a list from a combination of vector, matrix, and data frame......Page 71
How to do it…......Page 72
How it works…......Page 73
Getting ready......Page 74
How to do it…......Page 75
See also......Page 76
Introduction......Page 77
How to do it…......Page 78
How it works…......Page 79
Getting ready......Page 80
How it works…......Page 81
Getting ready......Page 83
How it works…......Page 84
How to do it…......Page 85
There’s more…......Page 86
How to do it…......Page 87
How it works…......Page 88
There’s more…......Page 89
Getting ready......Page 90
How it works…......Page 91
See also......Page 92
Introduction......Page 93
How to do it…......Page 94
There’s more…......Page 95
Getting ready......Page 96
There’s more…......Page 97
The use of the ifelse vectorised conditional operator......Page 98
How to do it…......Page 99
See also......Page 100
How to do it…......Page 101
How it works…......Page 102
Getting ready......Page 103
How to do it…......Page 104
Using for loop for iterations......Page 105
How to do it…......Page 106
Vectorised operation versus for loop......Page 107
How to do it…......Page 108
How it works…......Page 109
Defining a new S3 class......Page 110
How to do it…......Page 111
See also......Page 112
Getting ready......Page 113
How to do it…......Page 114
There's more…......Page 115
How to do it…......Page 116
How it works…......Page 117
There's more…......Page 118
How to do it…......Page 119
How it works…......Page 120
Defining methods for an S4 class......Page 121
How to do it…......Page 122
There's more…......Page 123
Getting ready......Page 124
How it works…......Page 125
See also......Page 126
Introduction......Page 127
Getting ready......Page 128
How it works…......Page 129
Getting ready......Page 131
How to do it…......Page 132
How it works…......Page 134
See also......Page 135
How to do it.........Page 136
How it works.........Page 137
There's more…......Page 138
Getting ready......Page 139
How it works.........Page 140
There's more…......Page 141
Getting ready......Page 142
Using the arrange verb for data processing......Page 143
How to do it.........Page 144
Getting ready......Page 145
How it works.........Page 146
Using summarise to summarize dataset......Page 147
How to do it.........Page 148
How it works.........Page 151
Chapter 7: R for Text Processing......Page 152
Getting ready......Page 153
How to do it…......Page 154
There’s more…......Page 155
How to do it…......Page 156
There's more…......Page 157
How to do it…......Page 158
Extracting text data from PubMed......Page 159
How to do it…......Page 160
How it works…......Page 162
There's more…......Page 163
How to do it…......Page 165
There's more…......Page 166
How to do it…......Page 167
There's more…......Page 168
Getting ready......Page 169
How to do it…......Page 170
How it works…......Page 171
Getting ready......Page 172
How to do it…......Page 173
How it works…......Page 174
There's more…......Page 175
How to do it…......Page 176
How it works…......Page 177
There's more…......Page 178
Introduction......Page 179
Getting ready......Page 180
How to do it…......Page 181
Creating a new user in the PostgreSQL database server......Page 188
How to do it…......Page 189
How it works…......Page 191
There's more…......Page 192
Getting ready......Page 193
How to do it.........Page 194
There's more…......Page 196
How to do it.........Page 197
How it works.........Page 198
Getting ready......Page 200
How to do it…......Page 201
How it works…......Page 202
Creating and interacting with the SQLite database from R......Page 203
How to do it.........Page 204
How it works.........Page 205
There's more…......Page 206
Introduction......Page 207
Getting ready......Page 208
How to do it…......Page 209
How it works…......Page 210
See also......Page 211
How to do it…......Page 212
How it works…......Page 213
Comparing computation time with data frame and XDF......Page 215
How to do it…......Page 216
How it works…......Page 217
Getting ready......Page 219
How it works…......Page 220
See also......Page 221
Index......Page 222