Front cover image for S programming

S programming

"S is a high-legel language for manipulating, analysing, and displaying data. It forms the basis of two highly acclaimed and widely used data analysis software systems, the commercial S-PLUS and the Open Source R. This book provides an in-depth guide to writing software in the S language under either or both of those systems. It is intended for readers who have some acquaintance with the S language and want to know how to use it more effectively, for example, to build reusable tools for streamlining routine data analysis or to implement new statistical methods."--Jacket
Print Book, English, ©2000
Springer, New York, ©2000
x, 264 pages : illustrations ; 24 cm.
9780387989662, 0387989668
42798174
1. Introduction
2. The S Language: Syntax and Semantics
2.1. A Concise description of S objects
2.2. Arithmetical expressions
2.3. Indexing
2.4. Vectors, matrices and arrays
2.5. Character vector operations
2.6. Control structures
2.7. Vectorized calculations
3. The S Language: Advanced Aspects
3.1. Functions
3.2. Writing functions
3.3. Calling the operating system
3.4. Databases, frames and environments
3.5. Computing on the language
3.6. Graphics functions
4. Classes
4.1. Introduction to classes
4.2. An extended statistical example
4.3. Polynomials: an example of group method functions
5. New-style classes
5.1. Creating a class
5.2. Inheritance
5.3. Generic and method functions
5.4. Old-style classes
5.5. An extended statistical example revisited
5.6. Group methods and another polynomial class
6. Using Compiled Code
6.1. Writing S functions to call compiled code
6.2. Writing compiled code to work with S
6.3. Calling S from C
6.4. Using the .Call interface
6.5. Debugging compiled code
6.6. Portability
7. General Strategies and Extended Examples
7.1. Managing loops
7.2. A large regression
7.3. Simulation envelopes for normal-score plots
7.4. Making good use of language objects
7.5. Bootstrapping and cross-validation
7.6. Maximum likelihood estimates and iterative calculations
7.7. Tips
8. S Software Development
8.1. Editing S functions and objects
8.2. Tracing and debugging
8.3. Creating on-line help
8.4. S-PLUS libraries
8.5. R packages
8.6. Developing code to be used on more than one engine
8.7. A checklist
9. Interfaces under Windows
9.1. Building a dialog box
9.2. Adding items to the menus
9.3. Managing a customized GUI
9.4. Communicating with S-PLUS: DDE
9.5. Communicating with S-PLUS: Automation
9.6. Interfacing with R
9.7. Some pitfalls of Automation
App. A. Compiling and Loading Code
App. B. The Interactive Environment
App. C. BATCH Operation
link.springer.com Full text available from Springer Nature Book Archives Millennium (2000-2004)