R in a nutshell: [a desktop quick reference]
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly
2010
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XX, 611 S. Ill., graph. Darst. |
ISBN: | 9780596801700 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV036080779 | ||
003 | DE-604 | ||
005 | 20111206 | ||
007 | t | ||
008 | 100316s2010 ad|| |||| 00||| eng d | ||
020 | |a 9780596801700 |9 978-0-596-80170-0 | ||
035 | |a (OCoLC)843955334 | ||
035 | |a (DE-599)GBV617869642 | ||
040 | |a DE-604 |b ger | ||
041 | 0 | |a eng | |
049 | |a DE-703 |a DE-11 |a DE-M49 |a DE-188 |a DE-91G |a DE-859 |a DE-91 |a DE-355 |a DE-29T | ||
050 | 0 | |a QA276.45.R3 | |
082 | 0 | |a 519.502855133 |2 22 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 600 |0 (DE-625)143681: |2 rvk | ||
084 | |a DAT 307f |2 stub | ||
084 | |a MAT 620f |2 stub | ||
100 | 1 | |a Adler, Joseph |e Verfasser |4 aut | |
245 | 1 | 0 | |a R in a nutshell |b [a desktop quick reference] |c Joseph Adler |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly |c 2010 | |
300 | |a XX, 611 S. |b Ill., graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Datenverarbeitung | |
650 | 4 | |a Mathematical statistics |x Data processing | |
650 | 4 | |a R (Computer program language) | |
650 | 0 | 7 | |a R |g Programm |0 (DE-588)4705956-4 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a R |g Programm |0 (DE-588)4705956-4 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Bayreuth |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018971860&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-018971860 |
Datensatz im Suchindex
_version_ | 1804141138004672512 |
---|---|
adam_text | Table
of
Contents
Preface
.............................................................xv
Parti. R
Basics
1.
Getting and Installing
R
..........................................3
R
Versions
3
Getting and Installing Interactive
R
Binaries
3
Windows
4
Mac OS X
5
Linux and Unix Systems
5
2.
The
R
User Interface
.............................................7
The
R
Graphical User Interface
7
Windows
8
Mac OS X
8
Linux and Unix
8
The
R
Console
11
Command-Line Editing
13
Batch Mode
13
Using
R
Inside Microsoft Excel
14
Other Ways to Run
R
15
3.
A Short
R
Tutorial
.............................................. 17
Basic Operations in
R
17
Functions
19
Variables
20
Introduction to Data Structures
22
Objects and Classes
25
Models and Formulas
26
Charts and Graphics
28
Getting Help
32
4.
RPackages
....................................................35
An Overview of Packages
35
Listing Packages in Local Libraries
36
Loading Packages
38
Loading Packages on Windows and Linux
38
Loading Packages on Mac OS X
38
Exploring Package Repositories
39
Exploring Packages on the Web
40
Finding and Installing Packages Inside
R
40
Custom Packages
43
Creating a Package Directory
43
Building the Package
45
Part II. The
R
Language
5.
An Overview ofthe
R
Language
.................................. 49
Expressions
49
Objects
50
Symbols
50
Functions
50
Objects Are Copied in Assignment Statements
52
Everything in
R
Is an Object
52
Special Values
53
NA
53
Inf
and
-Inf
53
NaN
54
NULL
54
Coercion
54
The
R
Interpreter
55
Seeing How
R
Works
57
6.
R
Syntax
......................................................61
Constants
61
Numeric Vectors
61
Character Vectors
62
Symbols
63
Operators
64
Order of Operations
65
Assignments
67
Expressions
67
vi
I Table of Contents
Separating Expressions
67
Parentheses
68
Curly Braces
68
Control Structures
69
Conditional Statements
69
Loops
70
Accessing Data Structures
72
Data Structure Operators
73
Indexing by Integer Vector
73
Indexing by Logical Vector
76
Indexing by Name
76
R
Code Style Standards
77
7.
RObjects
..................................................... 79
Primitive Object Types
79
Vectors
82
Lists
83
Other Objects
84
Matrices
84
Arrays
84
Factors
85
Data Frames
87
Formulas
88
Time Series
89
Shingles
91
Dates and Times
91
Connections
92
Attributes
92
Class
95
8.
Symbols and Environments
......................................97
Symbols
97
Working with Environments
98
The Global Environment
99
Environments and Functions
100
Working with the Call Stack
100
Evaluating Functions in Different Environments
101
Adding Objects to an Environment
103
Exceptions
104
Signaling Errors
104
Catching Errors
105
9.
Functions
....................................................107
The Function Keyword
107
Arguments
107
Return Values
109
Tabie of Contents |
vii
Functions As Arguments
Ю9
Anonymous Functions HO
Properties of Functions
111
Argument Order and Named Arguments
113
Side Effects 114
Changes to Other Environments
114
Input/Output
115
Graphics H5
10.
Object-Oriented Programming
..................................117
Overview of Object-Oriented Programming in
R
118
Key Ideas 118
Implementation Example
11°
Object-Oriented Programming in
R: S4
Classes
125
Defining Classes
12-5
New Objects
126
Accessing Slots
126
Working with Objects
12
Creating Coercion Methods
12
Methods
128
Managing Methods
129
Basic Classes
13°
More Help
130
Old-School OOP in R:
S3 131
S3
Classes
131
S3
Methods
132
Using
S3
Classes in S4 Classes
133
Finding Hidden
S3
Methods
133
11.
High-Performance
R
...........................................135
Use Built-in Math Functions
135
Use Environments for Lookup Tables
136
Use a Database to Query Large Data Sets
136
Preallocate
Memory
137
Monitor How Much Memory You Are Using
137
Monitoring Memory Usage
137
Increasing Memory Limits
138
Cleaning Up Objects
138
Functions for Big Data Sets
139
Parallel Computation with
R
139
High-Performance RBinaries
140
Revolution
R
140
Building Your Own
141
mH
| Table of Contents
Partili.
Working with Data
12.
Saving, Loading, and Editing Data
........................
.......147
Entering Data Within
R
147
Entering Data Using
R
Commands
147
Using the Edit GUI
148
Saving and Loading
R
Objects
151
Saving Objects with save
151
Importing Data from External Files
152
Text Files
152
Other Software
161
Exporting Data
161
Importing Data from Databases
162
Export Then Import
162
Database Connection Packages
162
RODBC
163
DBI
173
TSDBI
178
13.
Preparing Data
........................................
....... 179
Combining Data Sets
179
Pasting Together Data Structures
180
Merging Data by Common Fields
183
Transformations
185
Reassigning Variables
185
The Transform Function
185
Applying a Function to Each Element of an Object
186
Binning Data
189
Shingles
189
Cut
190
Combining Objects with a Grouping Variable
191
Subsets
191
Bracket Notation
192
subset Function
192
Random Sampling
193
Summarizing Functions
194
tapply, aggregate
194
Aggregating Tables with rowsum
197
Counting Values
198
Reshaping Data
200
Data Cleaning
205
Finding and Removing Duplicates
206
Sorting
206
Table of Contents I
ix
14.
Graphics
.....................................................
21
1
An Overview of R Graphics
211
Scatter Plots 212
Plotting Time Series
218
Bar Charts 219
Pie Charts
223
Plotting Categorical Data
224
Three-Dimensional Data 229
Plotting Distributions
237
Box Plots 240
Graphics Devices
243
Customizing Charts
244
Common Arguments to Chart Functions 244
Graphical Parameters 244
Basic Graphics Functions
254
15.
Lattice Graphics
...............................................263
History 263
An Overview of the Lattice Package
264
How Lattice Worb
264
A Simple Example
264
Using Lattice Functions
266
Custom Panel Functions
268
High-Level Lattice Plotting Functions
268
Univariate Trellis Plots 269
Bivariate Trellis Plots 293
Trivariate Plots
301
Other Plots
306
Customizing Lattice Graphics
308
Common Arguments to Lattice Functions
308
trellis.skeleton
309
Controlling How Axes Are Drawn
310
Parameters
311
plot.trellis
315
strip.default
316
simpleKey
317
Low-Level Functions
318
Low-Level Graphics Functions
318
Panel Functions
318
Part IV. Statistic with
R
16.
AnalyzingData
...............................................323
Summary Statistics
323
Correlation and Covariance
325
TabfeofContaits
Principal
Components Analysis
328
Factor Analysis
332
Bootstrap Resampling
333
17.
Probability Distributions
.......................................335
Normal Distribution
335
Common Distribution-Type Arguments
338
Distribution Function Families
338
18.
Statistical Tests
...............................................343
Continuous Data
343
Normal Distribution-Based Tests
344
Distribution-Free Tests
357
Discrete Data
360
Proportion Tests
360
Binomial Tests
361
Tabular Data Tests
362
Distribution-Free Tabular Data Tests
368
19.
Power Tests
..................................................369
Experimental Design Example
369
i-Test Design
370
Proportion Test Design
371
ANOVA Test Design
372
20.
Regression Models
............................................373
Example: A Simple Linear Model
373
Fitting a Model
375
Helper Functions for Specifying the Model
376
Getting Information About a Model
376
Refining the Model
382
Details About the lm Function
382
Assumptions of Least Squares Regression
384
Robust and Resistant Regression
386
Subset Selection and Shrinkage Methods
387
Stepwise Variable Selection
388
Ridge Regression
389
Lasso and Least Angle Regression
390
Principal Components Regression and Partial Least Squares
Regression
391
Nonlinear Models
392
Generalized Linear Models
392
Nonlinear Least Squares
395
Survival Models
396
Smoothing
401
Table of Contents |
xi
Splines 401
Fitting Polynomial Surfaces
403
Kernel Smoothing
Machine Learning Algorithms for Regression
405
Regression Tree Models
406
MARS 418
Neural Networks
423
Project Pursuit Regression
427
Generalized Additive Models
430
Support Vector Machines
431
21.
Classification Models
.......................................... 435
Linear Classification Models
435
Logistic Regression
435
Linear Discriminant Analysis
440
Log-Linear Models
444
Machine Learning Algorithms for Classification
445
k
Nearest Neighbors
445
Classification Tree Models
446
Neural Networks
450
SVMs 451
Random Forests
451
22.
Machine Learning
.............................................453
Market Basket Analysis
453
Clustering
458
Distance Measures
458
Clustering Algorithms
459
23.
Time Series Analysis
...........................................463
Autocorrelation Functions
463
Time Series Models
464
24.
Bioconductor
.................................................469
An Example
469
Loading Raw Expression Data
470
Loading Data from
GEO 474
Matching Phenotype Data
476
Analyzing Expression Data
477
Key Bioconductor Packages
482
Data Structures
485
eSet
485
AssayData
487
AnnotatedDataFrame
487
MIAME
488
xii
| TabteofContents
Other Classes Used by Bioconductor Packages
489
Where to Go Next
490
Resources Outside Bioconductor
490
Vignettes
490
Courses
491
Books
491
Appendix:
R
Reference
...............................................493
Bibliography
.......................................................591
Index
............................................................. 593
Table of Contents
І хні
|
any_adam_object | 1 |
author | Adler, Joseph |
author_facet | Adler, Joseph |
author_role | aut |
author_sort | Adler, Joseph |
author_variant | j a ja |
building | Verbundindex |
bvnumber | BV036080779 |
callnumber-first | Q - Science |
callnumber-label | QA276 |
callnumber-raw | QA276.45.R3 |
callnumber-search | QA276.45.R3 |
callnumber-sort | QA 3276.45 R3 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 250 ST 600 |
classification_tum | DAT 307f MAT 620f |
ctrlnum | (OCoLC)843955334 (DE-599)GBV617869642 |
dewey-full | 519.502855133 |
dewey-hundreds | 500 - Natural sciences and mathematics |
dewey-ones | 519 - Probabilities and applied mathematics |
dewey-raw | 519.502855133 |
dewey-search | 519.502855133 |
dewey-sort | 3519.502855133 |
dewey-tens | 510 - Mathematics |
discipline | Informatik Mathematik |
edition | 1. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01540nam a2200421 c 4500</leader><controlfield tag="001">BV036080779</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20111206 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">100316s2010 ad|| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780596801700</subfield><subfield code="9">978-0-596-80170-0</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)843955334</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)GBV617869642</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-703</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-M49</subfield><subfield code="a">DE-188</subfield><subfield code="a">DE-91G</subfield><subfield code="a">DE-859</subfield><subfield code="a">DE-91</subfield><subfield code="a">DE-355</subfield><subfield code="a">DE-29T</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA276.45.R3</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">519.502855133</subfield><subfield code="2">22</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 600</subfield><subfield code="0">(DE-625)143681:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 307f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">MAT 620f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Adler, Joseph</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">R in a nutshell</subfield><subfield code="b">[a desktop quick reference]</subfield><subfield code="c">Joseph Adler</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2010</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XX, 611 S.</subfield><subfield code="b">Ill., graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Datenverarbeitung</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Mathematical statistics</subfield><subfield code="x">Data processing</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">R (Computer program language)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">R</subfield><subfield code="g">Programm</subfield><subfield code="0">(DE-588)4705956-4</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">R</subfield><subfield code="g">Programm</subfield><subfield code="0">(DE-588)4705956-4</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bayreuth</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018971860&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-018971860</subfield></datafield></record></collection> |
id | DE-604.BV036080779 |
illustrated | Illustrated |
indexdate | 2024-07-09T22:11:06Z |
institution | BVB |
isbn | 9780596801700 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-018971860 |
oclc_num | 843955334 |
open_access_boolean | |
owner | DE-703 DE-11 DE-M49 DE-BY-TUM DE-188 DE-91G DE-BY-TUM DE-859 DE-91 DE-BY-TUM DE-355 DE-BY-UBR DE-29T |
owner_facet | DE-703 DE-11 DE-M49 DE-BY-TUM DE-188 DE-91G DE-BY-TUM DE-859 DE-91 DE-BY-TUM DE-355 DE-BY-UBR DE-29T |
physical | XX, 611 S. Ill., graph. Darst. |
publishDate | 2010 |
publishDateSearch | 2010 |
publishDateSort | 2010 |
publisher | O'Reilly |
record_format | marc |
spelling | Adler, Joseph Verfasser aut R in a nutshell [a desktop quick reference] Joseph Adler 1. ed. Beijing [u.a.] O'Reilly 2010 XX, 611 S. Ill., graph. Darst. txt rdacontent n rdamedia nc rdacarrier Datenverarbeitung Mathematical statistics Data processing R (Computer program language) R Programm (DE-588)4705956-4 gnd rswk-swf R Programm (DE-588)4705956-4 s DE-604 Digitalisierung UB Bayreuth application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018971860&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Adler, Joseph R in a nutshell [a desktop quick reference] Datenverarbeitung Mathematical statistics Data processing R (Computer program language) R Programm (DE-588)4705956-4 gnd |
subject_GND | (DE-588)4705956-4 |
title | R in a nutshell [a desktop quick reference] |
title_auth | R in a nutshell [a desktop quick reference] |
title_exact_search | R in a nutshell [a desktop quick reference] |
title_full | R in a nutshell [a desktop quick reference] Joseph Adler |
title_fullStr | R in a nutshell [a desktop quick reference] Joseph Adler |
title_full_unstemmed | R in a nutshell [a desktop quick reference] Joseph Adler |
title_short | R in a nutshell |
title_sort | r in a nutshell a desktop quick reference |
title_sub | [a desktop quick reference] |
topic | Datenverarbeitung Mathematical statistics Data processing R (Computer program language) R Programm (DE-588)4705956-4 gnd |
topic_facet | Datenverarbeitung Mathematical statistics Data processing R (Computer program language) R Programm |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018971860&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT adlerjoseph rinanutshelladesktopquickreference |