My Account Log in

2 options

The basics of S-Plus / Andreas Krause, Melvin Olson.

Van Pelt Library QA276.4 .K73 2002
Loading location information...

Available This item is available for access.

Log in to request item
LIBRA QA276.4 .K73 2002
Loading location information...

Available from offsite location This item is stored in our repository but can be checked out.

Log in to request item
Format:
Book
Author/Creator:
Krause, Andreas.
Contributor:
Olson, Melvin.
Krause, Andreas.
Alumni and Friends Memorial Book Fund.
Series:
Statistics and computing
Language:
English
Subjects (All):
S-Plus.
Mathematical statistics--Data processing.
Mathematical statistics.
Physical Description:
xx, 419 pages : illustrations ; 24 cm.
Edition:
Third edition.
Place of Publication:
New York : Springer, [2002]
Summary:
This book explains the basics of S-PLUS in a clear style at a level suitable for people with little computing or statistical knowledge. Unlike the S-PLUS manuals, it is not comprehensive, but instead introduces the most important ideas of S-PLUS through the use of many examples. Each chapter also includes a collection of exercises that are accompanied by fully worked-out solutions and detailed comments. The volume is rounded off with practical hints on how efficient work can be performed in S-PLUS. The book is well suited for self-study and as a textbook.
The third edition is based on S-PLUS Version 6 for Windows and UNIX and has been completely updated. It covers the underlying S Version 4 and the graphical user interfaces for Windows and UNIX. A new section of the details of factor objects has been added, Trellis graphs are used in more depth, and new exercises (and solutions) are provided. The book serves equally well as an introduction to the R system, and concludes with a comparison of S-PLUS and R.
Contents:
1.1 The History of S and S-Plus 2
1.2 S-Plus on Different Operating Systems 4
2 Graphical User Interface 7
2.2 System Overview 8
2.2.1 Using a Mouse 9
2.2.2 Object Explorer 9
2.2.3 Commands Window 9
2.2.4 Toolbars 10
2.2.5 Graph Sheets 10
2.2.6 Script Window 10
2.3 Getting Started with the Interface 11
2.3.1 Importing Data 11
2.3.2 Graphs 11
2.3.3 Data and Statistics 13
2.3.4 Customizing the Toolbars 13
2.3.5 Chapters 14
2.4 Detailed Use of the GUI Interface 16
2.5 Object Explorer 16
2.6 Help 18
2.7 Data Export 19
2.8 Working Directory 21
2.9 Data Import 22
2.10 Data Summaries 25
2.11 Graphs 27
2.12 Trellis Graphs 34
2.13 Linear Regression 36
2.14 PowerPoint (Windows Only) 41
2.15 Excel (Windows Only) 41
2.16 Script Window 43
2.17 UNIX/Linux GUI 45
3.1.1 Starting and Quitting 72
3.1.2 The Help System 72
3.2 Simple Structures 74
3.2.1 Arithmetic Operators 74
3.2.3 The Concatenate Command: c 77
3.2.4 The Sequence Command: seq 78
3.2.5 The Replicate Command: rep 79
3.3 Mathematical Operations 80
3.4 Use of Brackets 81
3.5 Logical Values 83
4.1 Constructing and Manipulating Data 93
4.1.1 Matrices 94
4.1.2 Arrays 99
4.1.3 Data Frames 102
4.1.4 Lists 104
4.2 Introduction to Functions 106
4.3 Introduction to Missing Values 106
4.4 Merging Data 108
5 Graphics 119
5.1 Basic Graphics Commands 119
5.2 Graphics Devices 120
5.2.1 Working with Multiple Graphics Devices 122
5.3 Plotting Data 122
5.3.1 The plot Command 123
5.3.2 Modifying the Data Display 124
5.3.3 Modifying Figure Elements 124
5.4 Adding Elements to Existing Plots 125
5.4.1 Functions to Add Elements to Graphs 127
5.4.2 More About abline 128
5.4.3 More on Adding Axes 129
5.4.4 Adding Text to Graphs 131
5.5 Setting Options 131
5.6 Figure Layouts 133
5.6.1 Layouts Using Trellis Graphs 134
5.6.2 Matrices of Graphs 134
5.6.3 Multiple-Screen Graphs 135
5.6.4 Figures of Specified Size 136
6 Trellis Graphics 145
6.2.1 Trellis Syntax 148
6.2.2 Trellis Functions 149
6.2.3 Displaying and Storing Graphs 149
6.3 Output Devices 150
6.4 Customizing Trellis Graphs 152
6.4.1 Setting Options 152
6.4.2 Arranging the Layout of a Trellis Graph 153
6.4.3 Layout 153
6.4.4 Ordering of Graphs 155
6.4.5 Changing Graph Elements 156
6.4.6 Modifying Panel Strips 156
6.4.7 Arranging Several Graphs on a Single Page 157
6.4.8 Updating Existing Trellis Graphs 158
6.4.9 Writing Panel Functions 159
6.5.1 Graphing Individual Profiles 162
6.5.2 Preparing Data to Use for Trellis 163
6.5.3 The subset Option 164
6.5.4 The key Option 164
6.5.5 The subscripts Option in Panel Functions 165
7 Exploring Data 179
7.1 Descriptive Data Exploration 179
7.2 Graphical Exploration 190
7.2.1 Interactive Dynamic Graphics 205
7.2.2 Old-Style Graphics 205
7.3 Distributions and Related Functions 207
7.4 Confirmatory Statistics and Hypothesis Testing 212
7.5 Missing and Infinite Values 217
7.5.1 Testing for Missing Values 218
7.5.2 Supplying Data with Missing Values to Functions 218
7.5.3 Missing Values in Graphs 219
7.5.4 Infinite Values 220
8 Statistical Modeling 237
8.1.1 Regression 237
8.1.2 Regression Diagnostics 239
8.2 Statistical Models 241
8.3 Model Syntax 242
8.4 Regression 243
8.4.1 Linear Regression and Modeling Techniques 244
8.4.2 ANOVA 247
8.4.3 Logistic Regression 249
8.4.4 Survival Data Analysis 251
9 Programming 271
9.1 Lists 271
9.1.1 Adding and Deleting List Elements 273
9.1.2 Naming List Elements 274
9.1.3 Applying the Same Function to List Elements 276
9.1.4 Unlisting a List 280
9.1.5 Generating a List by Using split 280
9.2 Writing Functions 280
9.2.1 Documenting Functions 283
9.2.2 Scope of Variables 283
9.2.3 Parameters and Defaults 284
9.2.4 Passing an Unspecified Number of Parameters to a Function 286
9.2.5 Testing for Existence of an Argument 287
9.2.6 Returning Warnings and Errors 288
9.2.7 Using Function Arguments in Graphics Labels 288
9.3 Iteration 289
9.3.1 The for Loop 289
9.3.2 The while Loop 290
9.3.3 The repeat Loop 291
9.3.4 Vectorizing a Loop 291
9.3.5 Large Loops 293
9.4 Debugging: Searching for Errors 294
9.4.1 Syntax Errors 295
9.4.2 Invalid Arguments 296
9.4.3 Execution or Run-Time Errors 296
9.4.4 Logical Errors 297
9.5 Output Using the cat Function 300
9.6 The paste Function 301
10 Object-Oriented Programming 309
10.1 Creating Classes and Objects 311
10.2 Creating Methods 314
10.3 Debugging 319
10.4 Help 320
11 Input and Output 335
11.1 Reading S-Plus Commands from a File: The source Function 335
11.2 Data Import/Export: Easiest Method 336
11.3 Data Import/Export: General Method 338
11.4 Data Import/Export: Basic Method 339
11.5 Reading Data from the Terminal 340
11.6 Editing Data 341
11.7 Transferring Data 342
11.8 Recording a Session 342
12 S-Plus Internals 349
12.1 How S-PLUS Works Under UNIX 349
12.1.2 Customization on Start-Up and Exit 350
12.2 How S-PLUS Works Under Windows 352
12.2.1 Command Line Options 352
12.2.2 Start-up and Exit Functions 353
12.3 Storing Mechanism 354
12.4 Levels of Calls 355
13.1 The Process of Developing a Function 361
13.1.1 Setting up an Editor and Running the Code in S-PLUS 362
13.2 Useful Techniques 363
13.2.1 Housekeeping: Cleaning Up Directories 363
13.2.2 Storing and Restoring Graphical Parameters 364
13.2.3 Naming of Objects 364
13.2.4 Repeating Commands 365
13.3 Factors 365
13.3.1 Creating Factors and Ordered Factors 366
13.3.2 Internal Representation of Factors 368
13.3.3 Where Levels Play a Role 369
13.3.4 Where Factors Can Lead Their Own Lives 369
13.3.5 How Factors Come Into Life 371
13.3.6 Adding and Dropping Factor Levels 373
13.4 Treating Data Frames as Lists 374
13.5 Batch Jobs 375
13.6 Incorporating and Accessing C and Fortran Programs 376
13.6.1 Creating Shared Object Files Under UNIX 377
13.6.2 Creating DLLs Under Windows 377
13.6.3 Writing the C Code 378
13.6.4 Calling C Routines 378
13.7 Libraries 380
13.8 Including Graphs in Text Processors 381
13.8.1 Generating Graphs for Windows Applications 381
13.8.2 Generating PostScript Graphs 382
13.8.3 PostScript Graphs in LATEX 384
13.8.4 If You Don't Have a PostScript Printer 385
13.8.5 Greek Letters in Graphs 385
14 Information Sources on and Around S-Plus 395
14.1 S-News: Exchanging Information with Other Users 395
14.2 The StatLib Server 396
15 R 399
15.1 Development 399
15.2 Some Similarities Between R and S 400
15.3 Some Differences Between R and S 400
15.3.1 Language 400
15.3.2 Libraries 400
15.3.3 Trellis-Type Graphs 401
15.3.4 Colors and Lines 401
15.3.5 Data Import and Export Formats 401
15.3.6 Memory Handling 401
15.3.7 Mathematical Formulae in Graphs 401
15.3.8 Graphical User Interfaces 402
15.3.9 Start-Up Mechanism 402
15.3.10 Windows Integration 402
15.3.11 Support 402.
Notes:
Rev. ed. of: The basics of S and S-Plus. 2nd ed. c2000.
Includes bibliographical references (pages [403]-407) and index.
Local Notes:
Acquired for the Penn Libraries with assistance from the Alumni and Friends Memorial Book Fund.
ISBN:
0387954562
OCLC:
49284160

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account