Transcription of The R Inferno
{{id}} {{{paragraph}}}
The R Inferno Patrick Burns1. 30th April 2011. 1. This document resides in the tutorial section of More elementary material on R may also be found there. S+ is a registered trademark of TIBCO Software Inc. The author thanks D. Alighieri for useful comments. Contents Contents 1. List of Figures 6. List of Tables 7. 1 Falling into the Floating Point Trap 9. 2 Growing Objects 12. 3 Failing to Vectorize 17. Subscripting .. 20. Vectorized if .. 21. Vectorization impossible .. 22. 4 Over-Vectorizing 24. 5 Not Writing Functions 27. Abstraction .. 27. Simplicity .. 32. Consistency .. 33. 6 Doing Global Assignments 35. 7 Tripping on Object Orientation 38. S3 methods .. 38. generic functions .. 39. methods .. 39. inheritance .. 40. S4 methods .. 40. multiple dispatch .. 40. S4 structure .. 41. discussion .. 42. Namespaces .. 42. 1. CONTENTS CONTENTS. 8 Believing It Does as Intended 44. Ghosts .. 46. differences with S+ .. 46. package functionality .. 46. precedence.
Contents Contents 1 List of Figures 6 List of Tables 7 1 Falling into the Floating Point Trap 9 2 Growing Objects 12 3 Failing to Vectorize 17 3.1 Subscripting ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}