BlueSky Statistics Intro Guide

[This guide is now out of print. The material is available in the BlueSky Statistics 10 User Guide.]

BlueSky Statistics is an easy-to-use and powerful menu-based system for data science. Its menus and dialog boxes make quick work of graphs and analyses without having to learn to program. Behind the scenes, it writes code using the powerful R language. It can show you the code it writes, allowing you to learn R and modify what it is doing. R programmers can easily add menus and dialog boxes to BlueSky.

Cover design by Kiran Rafiq.

This guide is a subset of the BlueSky Statistics 7.1 User Guide. The Intro Guide is available as a free download here. It is also available in printed form exclusively at the world’s largest independent bookstore, Lulu.com. The Intro Guide keeps the printed cost low by skipping advanced modeling, such as the Model Fitting and Model Tuning menus. The straightforward writing style used in both guides assumes a minimal background in statistics or machine learning.

Table of Contents

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Choosing a Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Installing BlueSky Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Getting Started with BlueSky . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5 History Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.6 Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6.1 Visiting the BlueSky Website . . . . . . . . . . . . . . . . . . 10
1.6.2 About . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.6.3 The Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.6.4 Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.7 Your Next Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2 File Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.1 New Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.2 New Output Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.3 Open . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.3.1 Opening a Comma Separated Values File . . . . . . . . 20
2.3.2 Opening an R Dataset . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.4 Open Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.5 Paste Dataset from the Clipboard . . . . . . . . . . . . . . . . . . . . . . 23
2.6 Load Dataset from a Package . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.7 Import Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.7.1 SQL Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.8 Save & Save As . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.9 Save as PDF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.10 Recent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3 Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.1 Using the Output Window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2 Controlling Output Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.3 Using the Output Navigator . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.4 Managing Multiple Output Windows . . . . . . . . . . . . . . . . . . . 30
3.5 The Layout Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.5.1 Horizontal Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.5.2 Vertical Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.5.3 Show / Hide Output Navigator Menu Item . . . . . . . 31
3.6 The Edit Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4 Data Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.1 Add ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.2 Bin Numeric Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.3 Compute Dummy Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.4 Compute New Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.4.1 Compute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.4.2 Compute, Apply a Function Across All Rows . . . . 39
4.4.3 Conditional Compute, if/then . . . . . . . . . . . . . . . . . . . 41
4.4.4 Conditional Compute, if/then/else . . . . . . . . . . . . . . . 41
4.5 Concatenate Multiple Variables . . . . . . . . . . . . . . . . . . . . . . . . 43
4.6 Convert Variable(s) to factors . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.7 Dates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4.7.1 Convert Dates to Strings . . . . . . . . . . . . . . . . . . . . . . 45
4.7.2 Convert Strings to Dates . . . . . . . . . . . . . . . . . . . . . . 45
4.7.3 Date Order Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.8 Delete Variable(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.9 Factor Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.9.1 Add New Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.9.2 Display Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.9.3 Drop Unused Levels . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.9.4 Label \NA” as Missing . . . . . . . . . . . . . . . . . . . . . . . . 48
4.9.5 Lumping Into \Other” . . . . . . . . . . . . . . . . . . . . . . . . 49
4.9.6 Reorder by Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.9.7 Reorder by Occurrence in Dataset . . . . . . . . . . . . . . 50
4.9.8 Reorder by One Other Variable . . . . . . . . . . . . . . . . 50
4.9.9 Reorder Levels Manually . . . . . . . . . . . . . . . . . . . . . . . 51
4.9.10 Specify Levels to Keep or Replace by \Other” . . . . . 51
4.10 Missing Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
4.10.1 Remove NAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
4.10.2 Missing Values, basic . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.10.3 Missing Values, formula . . . . . . . . . . . . . . . . . . . . . . . 53
4.10.4 Replace All Missing Values, factor and string
variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4.10.5 Missing Values, models imputation . . . . . . . . . . . . . 54
4.11 Rank Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.12 Recode Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
4.13 Standardize Variable(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4.14 Transform Variable(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4.15 Aggregate to Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
4.16 Aggregate to Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
4.17 Expand Dataset by Weights . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
4.18 Find Duplicates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4.19 Merge Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
4.20 Refresh Datagrid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
4.21 Reload Dataset from File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.22 Reorder Variables in Dataset Alphabetically . . . . . . . . . . . . . 66
4.23 Reshape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.23.1 Reshape, long to wide . . . . . . . . . . . . . . . . . . . . . . . . 67
4.23.2 Reshape, wide to long . . . . . . . . . . . . . . . . . . . . . . . . 68
4.24 Sample Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4.25 Select First or Last Observations Within Groups . . . . . . . . . 69
4.26 Sort Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.27 Sort to Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.28 Split Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.28.1 For Group Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.28.2 For Partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.29 Stack Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
4.30 Subset Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
4.31 Subset Dataset to Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
4.32 Transpose Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.33 Legacy Data Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.33.1 Aggregate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.33.2 Sort . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.33.3 Subset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
5 Analysis Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1.1 One-tailed vs. Two-tailed Tests . . . . . . . . . . . . . . . . 77
5.1.2 Paired vs. Non-Paired Tests . . . . . . . . . . . . . . . . . . . 77
5.1.3 Parametric vs. Non-Parametric Tests . . . . . . . . . . . 78
5.2 Agreement Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
5.2.1 Bland-Altman Plots . . . . . . . . . . . . . . . . . . . . . . . . . . 78
5.2.2 Cohen’s Kappa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
5.2.3 Concordance Correlation Coecient . . . . . . . . . . . . 82
5.2.4 Diagnostic Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
5.2.5 Fleiss’ Kappa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
5.2.6 Intraclass Correlation Coecient . . . . . . . . . . . . . . . 87
5.3 Cluster Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5.3.1 Hierarchical Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . 90
5.3.2 K-Means Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
5.4 Contingency Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
5.4.1 Crosstab, list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
5.4.2 Crosstab, multi-way . . . . . . . . . . . . . . . . . . . . . . . . . . 97
5.4.3 Odds Ratios, M by 2 table . . . . . . . . . . . . . . . . . . . . 98
5.4.4 Relative Risks, M by 2 table . . . . . . . . . . . . . . . . . . . 100
5.4.5 Legacy: Crosstab, Two-way . . . . . . . . . . . . . . . . . . . . 100
5.5 Correlation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
5.5.1 Correlation Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
5.5.2 Correlation Test, one pair . . . . . . . . . . . . . . . . . . . . . 104
5.5.3 Correlation Test, multi-variable . . . . . . . . . . . . . . . . 104
5.6 Factor Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
5.6.1 Factor Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
5.6.2 Principal Components Analysis . . . . . . . . . . . . . . . . 112
5.7 Market Basket Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
5.7.1 Basket Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . 118
5.7.2 Display Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
5.7.3 Multi-line Transaction Format . . . . . . . . . . . . . . . . . 124
5.7.4 Multiple Variable Format . . . . . . . . . . . . . . . . . . . . . 129
5.7.5 Plot Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
5.8 Means . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
5.8.1 T-test, independent samples . . . . . . . . . . . . . . . . . . . 133
5.8.2 T-test, independent samples (two numeric variables)135
5.8.3 T-test, one sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
5.8.4 T-test, paired samples . . . . . . . . . . . . . . . . . . . . . . . . 137
5.8.5 ANCOVA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
5.8.6 ANOVA, one-way and two-way . . . . . . . . . . . . . . . . 140
5.8.7 ANOVA, one-way with blocks . . . . . . . . . . . . . . . . . . 147
5.8.8 ANOVA, one-way with random blocks . . . . . . . . . . 152
5.9 Missing Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
5.9.1 Analysis of Missing Values, column output . . . . . . 158
5.9.2 Analysis of Missing Values, row output . . . . . . . . . . 158
5.10 Non-Parametric Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
5.10.1 Chi-squared Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
5.10.2 Friedman Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
5.10.3 Kruskal-Wallis Test . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
5.10.4 Wilcoxon Test, independent samples . . . . . . . . . . . . 163
5.10.5 Wilcoxon Signed-Rank Test, one sample . . . . . . . . . 164
5.10.6 Wilcoxon Test, paired samples . . . . . . . . . . . . . . . . . 165
5.11 Proportions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
5.11.1 Binomial Test, single sample . . . . . . . . . . . . . . . . . . . 167
5.11.2 Proportion Test, independent samples . . . . . . . . . . . 168
5.11.3 Proportion Test, single sample . . . . . . . . . . . . . . . . . 169
5.12 Reliability Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
5.12.1 Reliability Analysis, Cronbach’s Alpha . . . . . . . . . . 170
5.12.2 Reliability Analysis, McDonald’s Omega . . . . . . . . 172
5.13 Summary Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
5.13.1 Compare Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
5.13.2 Explore Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
5.13.3 Frequency Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
5.13.4 Frequency Table, top N . . . . . . . . . . . . . . . . . . . . . . . 179
5.13.5 Numerical Statistical Analysis . . . . . . . . . . . . . . . . . 180
5.13.6 Numerical Statistical Analysis, using describe . . . . 180
5.13.7 Shapiro-Wilk Normality Test . . . . . . . . . . . . . . . . . . . 181
5.13.8 Summary Statistics, by group . . . . . . . . . . . . . . . . . . 182
5.13.9 Summary Statistics, all variables . . . . . . . . . . . . . . . 183
5.13.10 Summary Statistics, selected variables . . . . . . . . . . 183
5.13.11 Advanced Summary Statistics, all variables,
control levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
5.13.12 Advanced Summary Statistics, selected variables,
control levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
5.14 Survival Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
5.14.1 Kaplan-Meier Estimation, compare groups . . . . . . . 185
5.14.2 Kaplan-Meier Estimation, one group . . . . . . . . . . . . 186
5.15 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
5.15.1 Basic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
5.15.2 Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
5.16 Time Series Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
5.16.1 Automated ARIMA . . . . . . . . . . . . . . . . . . . . . . . . . . 194
5.16.2 Exponential Smoothing . . . . . . . . . . . . . . . . . . . . . . . 195
5.16.3 Holt-Winters, seasonal . . . . . . . . . . . . . . . . . . . . . . . . 197
5.16.4 Holt-Winters, non-seasonal . . . . . . . . . . . . . . . . . . . . 197
5.16.5 Plot Time Series, separate or combined . . . . . . . . . 198
5.16.6 Plot Time Series, with correlations . . . . . . . . . . . . . 199
5.17 Variance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
5.17.1 Bartlett Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
5.17.2 Levene Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
5.17.3 Variance Test, two samples . . . . . . . . . . . . . . . . . . . . 202
6 Distribution Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
6.1 Probabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
6.2 Quantiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
6.3 Plot Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
6.4 Sample From Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
6.5 Discrete Tail Probabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
6.6 Continuous Distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
6.7 Discrete Distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
7 Model Fitting, Brief Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
8 Model Tuning, Brief Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
9 Model Using, Brief Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
10 Tools Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
10.1 Dialog Inspector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
10.2 Dialog Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
10.3 Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
10.3.1 R Version Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
10.3.2 R Package Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
10.3.3 Show Installed Packages . . . . . . . . . . . . . . . . . . . . . . . 219
10.3.4 Update BlueSky Package from Zip . . . . . . . . . . . . . . 220
10.3.5 Install Package(s) from Zipped File(s) . . . . . . . . . . . 220
10.3.6 Install/Update Package(s) from CRAN. . . . . . . . . . 220
10.3.7 Load Package(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
10.3.8 Load User Session Package(s) . . . . . . . . . . . . . . . . . . 222
10.3.9 Unload Package(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
10.3.10 Uninstall Package(s) . . . . . . . . . . . . . . . . . . . . . . . . . . 223
10.4 Con guration Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
10.4.1 Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
10.4.2 Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
10.4.3 Image. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
10.4.4 Packages, default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
10.4.5 Packages, user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
10.4.6 Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
10.4.7 Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
10.4.8 SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
10.4.9 PDF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
10.4.10 Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
11 Working with the R Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
11.1 The R Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
11.2 The R Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
11.3 R Code Typographic Conventions . . . . . . . . . . . . . . . . . . . . . . 230
11.4 Getting Started with R Code . . . . . . . . . . . . . . . . . . . . . . . . . . 230
11.5 Converting R Objects to Data Frames . . . . . . . . . . . . . . . . . . 233
11.6 Generating True Word Processing Tables . . . . . . . . . . . . . . . . 233
11.7 Loading and Refreshing the Datagrid . . . . . . . . . . . . . . . . . . . 234
11.8 Getting Help on R Packages and Functions . . . . . . . . . . . . . . 235
12 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.