1
Another or an other book?
2
Basics
2.1
Data types
2.2
Data structures
2.3
Indexing R-objects
2.4
Importing/reading data
2.5
Building blocks
2.5.1
Logical (Boolean) operators
2.6
Good practice
2.6.1
A clean start
2.6.2
Structuring code
2.6.3
Commenting
2.6.4
Clearing the workbench
2.7
Useful functions
3
Tweaking and optimising
3.1
Converting data structures
3.1.1
Vector to matrix to vector
3.1.2
Vector to list to vector
3.1.3
Matrix to list to matrix
3.2
Fighting the loops
3.2.1
Vectorisation
3.2.2
The apply family
3.2.3
Some vectorised functions for specific puropse
3.3
Multi-core environment
3.4
Writing a function
3.5
Creating a package
4
Visualisation
4.1
Plots in general
4.2
Using colours
4.3
Interactive plots
4.4
Animations and 3D
5
Fundamental statistics
6
Spatial data analysis
7
Time series analysis
8
Signal processing
9
Kaleidoscope
9.1
Converting a sound file to a wordcloud
References
An(other) R Cook Book
Chapter 6
Spatial data analysis